简体   繁体   English

Javascript和Bing地图,显示地址的地图(不使用纬度/经度)

[英]Javascript and bing maps, display the map of an address (not using latitude/longitude)

I would like to display a bing map using an address, and not using latitude/longitude. 我想使用地址而不是经度/纬度显示bing地图。

Is it possible? 可能吗?

How? 怎么样? Is there a simple API or plugin for doing so? 有一个简单的API或插件吗?

Best Regards. 最好的祝福。

Have a look at the Bing Maps Geocoding API . 看看Bing Maps地理编码API This one allows you to give an address to draw on the map. 这使您可以指定一个在地图上绘制的地址。

Yes you can, what you need is geocoding. 是的,您可以,您需要的是地理编码。 Geocoding is the process to convert address into coordinates. 地理编码是将地址转换为坐标的过程。 Once you get coordinates you can use that in map. 一旦获得坐标,就可以在地图中使用它。 http://msdn.microsoft.com/en-us/library/cc966793.aspx http://msdn.microsoft.com/en-us/library/cc966793.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM