Issue in displaying static Google maps

人盡茶涼 提交于 2019-12-11 15:40:00

问题


The src property for the img tag is

http://maps.google.com/maps/api/staticmap?center=1701 Fm Rd 1187, Mansfield, Tx &size=150x90&sensor=false&zoom=15&maptype=roadmap" + "&markers=size:tiny|color:blue|1701 Fm Rd 1187, Mansfield, Tx 


回答1:


It works fine from here. You have simply exceeded the usage limits from your IP address:

Use of the Google Static Maps API is subject to a query limit of 1000 unique (different) image requests per viewer per day.

Since this restriction is a quota per viewer, most developers should not need to worry about exceeding their quota. However, note that we enforce an additional request rate limit to prevent abuse of the service. Requests of identical images, in general, do not count towards this limit beyond the original request.

Further reading:

  • Static Maps API V2 Developer Guide - Usage Limits


来源:https://stackoverflow.com/questions/3575053/issue-in-displaying-static-google-maps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!