title: Get nearest Location from google map api
body: <p>I want to retrieve the nearest location to a latitude and longitude. </p>
  
  <p>If I perform a get with the following url</p>
  
  <p><code>https://maps.googleapis.com/maps/api/place/search/xml?location=-33.8670522,151.1957362&amp;radius=500&amp;types=food&amp;name=harbour&amp;sensor=false&amp;key=MY_KEY</code></p>
  
  <p>I am expecting it to return a JSON array. </p>
  
  <p>However, I get an Access Denied result. I generated my key from the Google console. </p>
  
  <p>Please let me know what I might be doing wrong.</p>