Giter Club home page Giter Club logo

Comments (3)

sgruhier avatar sgruhier commented on June 28, 2024

You could ask again google to get places at lat/lng but I'm wondering why you don't save in your DB more than lat/lng. You should store all info you have lat/lng/address/... Like this you don't have to request something

from typeahead-addresspicker.

alexander-code avatar alexander-code commented on June 28, 2024

Sorry maybe I didn't explained it correctly. I described a case when a user wants to find where is he and save this point as his place. To do that I need two things. The lat long and the address. Then
the user could give a name to this place and store it into my DB.

"Visualise" the steps:

  1. User clicks on a link and I get the current Lat,Long <-- Done
  2. Based on the Lat, Long we've just found, we want the address of this point while the page is loading (just like when you drag the marker) <-- Help :)
  3. Finally, user types a name and save it to the DB <-- Done

I want to know how to accomplish the 2nd step.
Thank you.

from typeahead-addresspicker.

alexander-code avatar alexander-code commented on June 28, 2024

OK don't mind, I parsed google map JSON based on the Lat, Long on my own.

from typeahead-addresspicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.