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
精彩评论