开发者

Using bing to geocode

开发者 https://www.devze.com 2023-02-20 12:41 出处:网络
I\'m trying to find out how to use bing to get lat/long. All the tutorials I find are for plotting points but don\'t actually show how to extract the coordinates. Anyone开发者_如何转开发 have experien

I'm trying to find out how to use bing to get lat/long. All the tutorials I find are for plotting points but don't actually show how to extract the coordinates. Anyone开发者_如何转开发 have experience with this.


I think the new way to do that is by using their REST service documented here: http://msdn.microsoft.com/en-us/library/ff701715.aspx.

For example:

http://dev.virtualearth.net/REST/v1/Locations?key=BingMapsKey&query=White House
or
http://dev.virtualearth.net/REST/v1/Locations?key=BingMapsKey&query=1600 Pennsylvania Ave NW Washington, DC


We use the VEMap.Geocode method and it works just great.

see Bing Maps Ajax Control v6.3

0

精彩评论

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