Maps local search api does not fetch any data in my local

Gautham Arunachalam 21 Reputation points
2021-08-26T09:40:11.01+00:00

Hi,

I am trying to fetch my local hotels with in a range of 5000 meters.
I am using type to define the hotel types and userCircularMapView to fetch in a radius but empty success response is returned for my local tried the same with a random lat and long value in New York and the api call returned few locations

What am I doing wrong?

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
747 questions
0 comments No comments
{count} votes

Accepted answer
  1. IoTGirl 3,211 Reputation points Microsoft Employee
    2021-08-26T18:28:46.903+00:00

    Hi Gautham,
    Without seeing your Azure Maps calls, it is a bit difficult to know why you have zero results. I recommend starting with one of our samples and then modifying it to meet your needs. Please take a look at https://azuremapscodesamples.azurewebsites.net/?search=Points%20of%20Interest as I think there are a number of great starting options there with full github code you can use.

    Sincerely, IoTGirl

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.