使用Google地图时OVER_QUERY_LIMIT [英] OVER_QUERY_LIMIT while using google maps

查看:66
本文介绍了使用Google地图时OVER_QUERY_LIMIT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从应用程序访问Google地图时遇到问题,当我从Java脚本中循环发送10个以上请求时,我从Geocoder服务中获得了OVER_QUERY_LIMIT的异常. 有什么办法可以摆脱这种情况,我尝试使用setInterval()等给一些时间延迟..但是不起作用.

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.

推荐答案

可能您每秒发送太多请求,并且

Probably you are sending too many requests per second and Google doesn't let you do that.

阅读 http://code.google.com/apis/maps/faq .html#geocoder_classorhttp

这篇关于使用Google地图时OVER_QUERY_LIMIT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆