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

10,324

Solution 1

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.

Solution 2

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

Share:
10,324
Yara
Author by

Yara

C# Tutorials - Software Developer Blog.

Updated on June 14, 2022

Comments

  • Yara
    Yara about 2 years

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