OVER_QUERY_LIMIT in Google Maps API v3: How do I pause/delay in Javascript to slow it down?

前端 未结 6 1924
暖寄归人
暖寄归人 2020-11-22 08:49

I\'m hitting an issue that is WELL discussed in these forums, but none of the recommendations seem to be working for me so I\'m looking for some full javascript that works w

6条回答
  •  感情败类
    2020-11-22 09:13

    The general answer to this question is:

    Don't geocode known locations every time you load your page. Geocode them off-line and use the resulting coordinates to display the markers on your page.

    The limits exist for a reason.

    If you can't geocode the locations off-line, see this page (Part 17 Geocoding multiple addresses) from Mike Williams' v2 tutorial which describes an approach, port that to the v3 API.

提交回复
热议问题