javascriptgeocodinggoogle-maps

How do I Geocode 20 addresses without receiving an OVER_QUERY_LIMIT response?


Using the Google Geocoder v3, if I try to geocode 20 addresses, I get an OVER_QUERY_LIMIT unless I time them to be ~1 second apart, but then it takes 20 seconds before my markers are all placed.

Is there any other way to do it, other than storing the coordinates in advance?


Solution

  • No, there is not really any other way. If you have many locations and want to display them on a map, the best solution is to:

    This is, of course, considering that you have a lot less creation/modification of locations than you have consultations of locations.

    Yes, it means you'll have to do a bit more work when saving the locations, but it also means: