5
votes

No result is returned when using the Google Maps API v3. Autocomplete, however when doing a Google Maps Search for the same address will return a result.

Why is this and how can this be resolved?


Example.

1
That doesn't seem to help. - MrUpsidown
why is this voted to close ? - NimChimpsky
I dont think it will show autocomplete address, even you start typing that address in https://www.google.co.uk/maps. If you try 1 Oakland Terrace, Doncaster, then it will show a autocomplete suggestion in both the example and https://www.google.co.uk/maps. - ztan
If I do the above, it is converted to 1 Oakland Avenue, Hatfield, Doncaster District, UK - MrUpsidown

1 Answers

0
votes

The Google Places API often returns results similar to maps.google.com, but they're not the exact same. I'm unable to reproduce any suggestions for the start of this address using maps.google.com, which matches the experience you're seeing in the Autocomplete API.

That said, this specific address appears to work correctly using the Geocoding API and the Place Text Search API. The Places API has information for that address, it's just not autocompleting. I would recommend designing your application so that if you have a full-looking address and an autocomplete request fails you fall back to a regular Places API text search or geocoding call.