开发者

Convert coordinates to a place name

I am using the HTML5 Geolocation API to find the longitude and the latitude开发者_C百科 from the users of my site. This works, but now I would like to show on the screen "You currently are in ...". So I need to convert these coordinates I get from the Geolocation API to a place name.

I tried a bit with Google Maps API, but I didn't get it working.

Does anyone knows how to do this?


The Google Maps API Docs have what seems to be a complete reverse geocoding example. (Note that this is the new V3 API!)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜