I have a problem while acessing google maps from my application, when i send more than 10 requests in loop from java script i get the exception as OVER_QUERY_LIMIT from geocoder service. is there any way that i can get rid of this, i tried giving some time delays using setInterval() etc.. .but doesnt work.
If you exceed the per-day limit or otherwise abuse the service, the Google Maps Geocoding API may stop working for you temporarily. If you continue to exceed this limit, your access to the Google Maps Geocoding API may be blocked.
While there is no maximum number of requests per day, the following usage limit is still in place for the Geocoding API: 50 requests per second, calculated as the sum of client-side and server-side queries.
Probably you are sending too many requests per second and Google doesn't let you do that.
Read http://code.google.com/apis/maps/faq.html#geocoder_classorhttp
Geocoding in the JavaScript API is rate-limited. When you first load the API, you can send 10 requests for address geocoding or 5 for reverse (latlng) geocoding before you get an OVER_QUERY_LIMIT response. When you do, use "exponential backoff" to delay your queries.
You may also want to join the discussion in Issue 4805 (gmaps-api-issues).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With