与 Google Maps Javascript API v3 一起使用时的服务使用限制 [英] Usage limits for services when used with Google Maps Javascript API v3

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

问题描述

我试图阐明与 Google Maps Javascript API 一起使用时 Google 地图服务(例如地点、路线等)的使用限制.

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.

根据官方文档

JavaScript Maps API V3 是一项免费服务,可用于任何网络对消费者免费的网站

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

营利性网站最多可以生成 25 000 次地图加载每天使用 Google Maps JavaScript API v3.

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

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

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

  • Places API 每 24 个允许 1,000 或 100,000 个(如果您已验证)请求小时.

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

Directions API 每天允许 2,500 个请求

Directions API allows 2,500 requests per day

在我的网络应用程序中,我通过 Javascript API 使用地点库和方向服务. 与 Javascript API 一起使用时,每个服务的使用限制是否适用?文档没有说清楚.

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.

推荐答案

是的.仅当您的网站获得更多流量时,Google 地图 API 的使用限制才会影响.

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

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

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.

这包括:

  1. 使用 Maps JavaScript API(V2 或 V3)显示地图
    由网页或应用程序加载;
  2. 使用 Maps JavaScript API (V2或 V3) 由尚未显示的网页或应用程序地图;
  3. 加载 Maps API for Flash 的 SWF 是由网页加载的,或者应用;或
  4. 从静态地图 API 对地图图像发出单个请求.
  5. 对街景中的全景图片发出了一个请求图像 API.

如果您认为您的网站超出了这些使用限制,那么您应该考虑购买Maps API for Business 许可.

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.

这篇关于与 Google Maps Javascript API v3 一起使用时的服务使用限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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