对服务的使用限制与谷歌地图JavaScript API V3使用时 [英] Usage limits for services when used with Google Maps Javascript API v3

查看:538
本文介绍了对服务的使用限制与谷歌地图JavaScript API V3使用时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想澄清与谷歌地图API的JavaScript时使用谷歌地图服务的使用限制(例如邻居,方向等)。

据href=\"https://developers.google.com/maps/documentation/javascript/usage\" rel=\"nofollow\">官方文档的


  

JavaScript的地图API V3是一项免费服务,可用于任何网络
  网站是免费提供给消费者。



  

有关营利性网站产生高达25 000地图加载
  每天使用谷歌地图Javascript API第3。


现在每一个谷歌地图服务API都有自己的使用限制:


  • 地方API允许1000或10万(如果你验证)每24请求
    小时。


  • 地图API允许每天2500请求


在我的web应用程序,我使用通过 Javascript API第场所和图书馆服务方向。做每个服务使用JavaScript API使用时应用使用限制?文档没有表明这一点。


解决方案

是的。谷歌地图API的使用限制的影响,只有当您的网站获得更多的流量

每个API都有自己的使用限制。


  • 谷歌地理编码服务: 每天2500请求

  • 谷歌地图API的Javascript: 多达25,000地图每天负荷为每
    服务。

    这包括:


    1. 使用Google Maps API的JavaScript显示地图(V2 V3或),当结果
    2. ;通过网页或应用程序加载
    3. 使用Google Maps API的JavaScript显示街景全景图(V2
      或V3)通过一个网页或应用程序,还没有同时显示一个
      地图;

    4. 加载对Flash地图API的SWF是通过网页加载或
      应用;或

    5. 一个请求是从静态地图API的地图图像进行。

    6. 一个请求是从街景全景图像制成
      图像API。


如果你认为你的网站超过这些使用限制,那么你应该考虑为 购买地图API对企业法人营业执照

检查下列网站获取更多信息:

希望以上信息可以帮助你。

I'm trying to clarify the usage limits for Google Maps services (e.g. Places, Directions, etc) when used with the Google Maps Javascript API.

According to the official documentation

The JavaScript Maps API V3 is a free service, available for any web site that is free to consumers

and

For-profit web sites are permitted to generate up to 25 000 map loads per day using the Google Maps JavaScript API v3.

Now each Google Maps service API has its own usage limits:

  • Places API allows 1,000 or 100,000 (if you're verified) requests per 24 hours.

  • Directions API allows 2,500 requests per day

In my web app I'm using the places library and direction service via the Javascript API. Do the usage limits for each service apply when used with the Javascript API? The documentation doesn't make that clear.

解决方案

Yes. The usage limit for Google maps APIs affects only when your site gets more traffic.

Each API has its own usage limitation.

  • Google Geocoding Service: 2,500 requests per day
  • Google Maps Javascript API : up to 25,000 map loads per day for each service.

    This includes:

    1. a map is displayed using the Maps JavaScript API (V2 or V3) when
      loaded by a web page or application;
    2. a Street View panorama is displayed using the Maps JavaScript API (V2 or V3) by a web page or application that has not also displayed a map;
    3. a SWF that loads the Maps API for Flash is loaded by a web page or application; or
    4. a single request is made for a map image from the Static Maps API.
    5. a single request is made for a panorama image from the Street View Image API.

If you think that your site exceeds these usage limit, then you should consider to purchase a Maps API for Business license.

Check the following sites for additional information:

Hope that the above information helps you.

这篇关于对服务的使用限制与谷歌地图JavaScript API V3使用时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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