Bing map API for Autosuggestion Addresses

AHSAN ALI 81 Reputation points
2023-11-29T22:06:38.3533333+00:00

how can i get likeScreenshot 2023-11-30 030316

this autosuggestion address with lat long Bing map API

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
595 questions
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
245 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 13,471 Reputation points
    2023-11-30T03:08:03.7566667+00:00

    Hi @AHSAN ALI Thank you for posting this question on this forum. Based on your question, it implies that you want to get auto suggestions based on a given latitude and longitude location. Please let me know if my understanding is incorrect.

    The Auto suggestion API accepts a query parmeter named userLocation which accepts latitude and longitude coordinates and fetches the results based on it. If you take a look into the Bing Maps auto suggestion API, it provides examples on how we can filter addresses at a given coordinate. Here is an API call examples that returns business addresses based on the search query from a given location.

    http://dev.virtualearth.net/REST/v1/Autosuggest?query=El%20bur&userLocation=47.668697,-122.376373,5&includeEntityTypes=Business&key=<BingMapsKey>
    
    

    Hope this helps. Please let us know if you have any further questions in the comments below and we would be glad to assist you.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    0 comments No comments