Usage limits for services when used with Google Maps Javascript API v3

匿名 (未验证) 提交于 2019-12-03 01:56:01

问题:

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

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.

回答1:

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.



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