Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)

like image 529
Yara Avatar asked Oct 17 '25 13:10

Yara


2 Answers

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.

like image 151
Avner Shahar-Kashtan Avatar answered Oct 19 '25 05:10

Avner Shahar-Kashtan


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

like image 22
shiva modini Avatar answered Oct 19 '25 04:10

shiva modini



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!