Yara
Yara

Reputation: 4565

Bing maps. How can I get address by lat and long?

Is it possible to get address(Country, City, street, etc) by latitude and longitude? (BingMaps version 7)

Upvotes: 4

Views: 11833

Answers (2)

shiva modini
shiva modini

Reputation: 21

after all research I have got this query

http://dev.virtualearth.net/REST/v1/Locations/point?includeEntityTypes=entityTypes&includeNeighborhood=includeNeighborhood&include=includeValue&key=BingMapsKey

this query is about to give us address after giving the latitude and longitudes.

read the link https://msdn.microsoft.com/en-us/library/ff701710.aspx

Upvotes: 2

Avner Shahar-Kashtan
Avner Shahar-Kashtan

Reputation: 14700

What's you're looking for is reverse geocoding - translating a coordinate into an address (as opposed to regular geocoding, getting coordinates from address information). The BingMaps 7.0 javascript library doesn't support this directly, but you can get this functionality from the Bing Maps REST services, and specifically the Locations service.

Check out both the documentation of the Locations service and the docs of the Javascript library where they provide examples of calling that service from javascript.

Upvotes: 7

Related Questions