简体   繁体   English

Google Maps Directions API使用限制

[英]Google Maps Directions API Usage Limits

What is the limit of allowed waypoints in the free plan of Google Maps Directions API? Google Maps Directions API的免费计划中允许的航点限制是什么? Their site indicates this: 他们的网站指出:

Up to 23 waypoints allowed in each request containing an API key, or up to 8 waypoints when no API key is supplied, or up to 8 waypoints when using the Directions service in the Google Maps JavaScript API 每个包含API密钥的请求中最多允许23个航点;如果不提供API密钥,则最多允许8个航点;使用Google Maps JavaScript API中的Directions服务时,最多允许8个航点

Which is unclear, because first it tells you that you're allowed to use 23 waypoints when you have a key, and lastly it says that you're only allowed to use 8. 尚不清楚,因为首先它告诉您当您拥有钥匙时被允许使用23个航路点,最后它说您仅被允许使用8。

See this issue in the issue tracker: Issue 8886: Bug: Directions API description of MAX_WAYPOINTS_EXCEEDED is not clear 在问题跟踪器中看到此问题: 问题8886:错误:不清楚MAX_WAYPOINTS_EXCEEDED的Directions API描述

from that issue: 从那个问题:

Nov 16, 2015 2015年11月16日

Project Member #8 andr...@google.com 项目8号成员andr ... @ google.com

The post refers to Web Services. 该帖子指的是Web服务。

The situation is the following: 情况如下:

  • Web Services (Directions API, Distance Matrix API) both free users (API keys) and Maps for Work users (client ID + signature) have 23 waypoints Web服务(Directions API,Distance Matrix API)免费用户(API密钥)和Maps for Work用户(客户端ID +签名)都有23个航路点

  • JavaScript API (directions service, distance matrix service): free users (API keys) have 8 waypoints, Maps for Work users (client ID) have 23 waypoints. JavaScript API(方向服务,距离矩阵服务):免费用户(API密钥)有8个航点,Maps for Work用户(客户端ID)有23个航点。

Jan 22, 2016 2016年1月22日

Project Member #12 ekelar...@google.com 专案成员#12 ekelar ... @ google.com

we're looking into adding this to JavaScript API as well, but there are some blockers on this, so we decided to roll it out for the web services without waiting for JS. 我们也正在考虑将其添加到JavaScript API中,但是对此有一些阻碍,因此我们决定将其发布到Web服务中,而无需等待JS。

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

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