Using Google Map to Select a location [closed]
I want to get address info for the user when registering in my web site. I want to display a Google Map and let the user choose the country, then the city. When this happen, I will display the city in google map, let the user then choose the exact longitude and latitude by clicking on the map. I save that in my database.
Can I get some help, how can I start doing that?
Using the google maps v3 api to do this is pretty simple. You can use it directly. I wrote a jQuery wrapper to help a bit. Here is a blog post showing how to use the wrapper:
http://blog.bobcravens.com/2010/06/a-google-maps-version-3-jquery-plugin/
Hope this gets you started.
Bob
精彩评论