OVER_QUERY_LIMIT while using google maps

后端 未结 6 1337
陌清茗
陌清茗 2020-11-28 09:45

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 geoc

6条回答
  •  盖世英雄少女心
    2020-11-28 10:16

    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).

提交回复
热议问题