none
Local Search question RRS feed

  • Question

  • Hi,

    We have used the Local Search API of Bing Map given in below link to retrieve the nearby coffee, restaurants, etc from POI locations and while sending request through API also pass the parameter maxResults waypoint =25.

    https://docs.microsoft.com/en-us/bingmaps/rest-services/locations/local-search

    But it does not consider the distance while retrieving the waypoints as We have not send in request as well. Currently it will retrieve the waypoints which is too much far from POI location.

    So is there any way around to send the distance limit in request so it can only retrieve poi within given distance limit.

    Thanks!


    Balasaheb

    Thursday, March 12, 2020 12:21 PM

All replies

  • Hi Balasaheb,

    This API does not take waypoints but I assume you are setting maxResults to 25.  To set a distance use the optional item to set the centerpoint and radius of the search.

    userCircularMapView ucmv Optional. A circular geographic region. A circular region specified by a comma separated list of the latitude and longitude of the center of the circle, and the radius of the circle, in meters. Example: 48.604311,-122.981998,5000

    Sincerely,

    IoTGirl

    Thursday, March 12, 2020 2:51 PM
    Owner