简体   繁体   English

Google会映射API使用限制

[英]Google maps API usage limits

我使用谷歌地图API,但不幸的是我发现他们有一个使用限制,所以我想知道,无论如何o得到谷歌地图API没有任何使用限制,如果不是我怎么能获得任何许可?

Google maps api usage and limits 谷歌地图api使用和限制

Do I need an API key? 我需要API密钥吗?

Answer: in the early days of google maps you did not require an API key (it is still possible to not have one due to backwards compatibility) however, today, it is recommended that you generate an API key for google maps V3. 答:在谷歌地图的早期你不需要API密钥(由于向后兼容性,它仍然可能没有)但是,今天,建议你为谷歌地图V3生成一个API密钥。 Also, have in mind that some features are not available without the API key. 此外,请记住,如果没有API密钥,某些功能将无法使用。

If you want to inform your self more about the API key, here is the official page that will tell you how to get started with it and how to include it to your project, 如果您想更多地了解API密钥,请参阅官方页面,告诉您如何开始使用它以及如何将其包含在您的项目中,

url: https://developers.google.com/maps/documentation/javascript/tutorial 网址: https//developers.google.com/maps/documentation/javascript/tutorial

What are the usage limits? 使用限制是什么?

Answer: If your site gets 25 000 map loads or more every single day, for more than 90 days in a row, the google team will get in touch with you (they are well aware of your google maps usage). 答:如果您的网站每天有超过25 000个地图加载或更多,连续超过90天,Google团队将与您取得联系(他们非常清楚您的谷歌地图使用情况)。 If however you don't think your google maps will generate such an amount of traffic then do the following: 但是,如果您认为您的Google地图不会产生如此大量的流量,请执行以下操作:

  • Modify your application so that your usage is less than 25 000 map loads per day. 修改您的应用程序,使您的使用量每天少于25 000个地图加载。
  • Enroll for automated billing of excess map loads in the Google Developers Console. 在Google Developers Console中注册过多地图加载的自动结算。
  • Purchase a Google Maps API for Work license. 购买Google Maps API for Work许可。

Here is the official page for the limits, 这是限制的官方页面,

url: https://developers.google.com/maps/documentation/javascript/usage#quota 网址: https//developers.google.com/maps/documentation/javascript/usage#quota

To sum it all up: If you can predict huge traffic on your website (and using the google maps API within your website), then once again, read carefully the docs and see what further steps need to be taken, otherwise you can experiment with google maps as much as you want. 总而言之:如果您可以预测网站上的大量流量(并在您的网站中使用谷歌地图API),那么请再次仔细阅读文档,看看需要采取哪些进一步措施,否则您可以尝试谷歌地图尽可能多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM