开发者

Using Google Map to Select a location [closed]

开发者_如何学Go It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜