困惑 - 如何获取地址的地理编码(谷歌地图)
我创建了一个小型网络应用程序,用户添加他的地址,我想显示他的地址的地图。 有没有办法获取地址的纬度和经度?与谷歌地图。
I create a small web app, the user add his address and I want to show the map for his address.
Is there a way to get the latitude
and longitude
for an address? with Google Maps.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
或者您可以使用 google 地图的地理编码服务:http:// code.google.com/apis/maps/documentation/javascript/services.html#Geocoding
下面是一个简单的示例:http://code.google.com/apis/maps/documentation/javascript/examples/geocoding-simple.html
Or you could use the geocoding service from google maps: http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding
Here's a simple example for it: http://code.google.com/apis/maps/documentation/javascript/examples/geocoding-simple.html
是的,有。这称为地理编码。以下是 Google 的 API:http://code.google.com/apis/maps/documentation /地理编码/
Yes there is. It is called geocoding. Here is Google's API: http://code.google.com/apis/maps/documentation/geocoding/