0
votes

I am working on Android Google maps application but the query string i am using to get results of places near by the user is not working.

http://maps.googleapis.com/maps/api/place/search/json?location=123.666,33.166&radius=50000&sensor=false&types=establishment&name=hotel&key={myKey}

I am using this link to obtain a Maps API key.

here is the response i am receiving.

      {
         "html_attributions" : [],
         "results" : [],
         "status" : "REQUEST_DENIED"
      }

Thanks

2

2 Answers

0
votes

I'm quite sure you are using a wrong/old key. Lokk at your link, it's over 3 years old. Better try this way to obtain a new key: Obtaining a Google Maps Android API Key. This is the official site.