I have the address开发者_开发百科 of a location, and I'm trying to find its latitude/longitude from the bing service using javascript or java. How would I do 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
精彩评论