我正在查看Google Web服务定价:
https://developers.google.com/maps/pricing-and-plans/
如果我看看:
Google Maps Directions API Google Maps Geocoding API
他们在网页上说每天免费提供2,500个请求。
如果我同时使用这两个,那么这是免费的,或者它是所有这些列出的总数。
Google Maps Directions API = 2000 Google Maps Geocoding API = 500
所以,如果我对其中任何一个做了另一个查询,那么我会被收费。或者,在我收费之前,我可以在每个项目上使用2500吗?
Google Maps Directions API Google Maps Distance Matrix API 4 Google Maps Elevation API Google Maps Geocoding API Google Maps Geolocation API Google Maps Roads API Google Maps时区API
谢谢,
沃德。
答案 0 :(得分:0)
每个Web服务都有自己的使用配额。每个请求每天最多可以执行2.5K的请求。
有关详细信息,请参阅文档:
https://developers.google.com/maps/documentation/geocoding/usage-limits
https://developers.google.com/maps/documentation/directions/usage-limits
https://developers.google.com/maps/documentation/distance-matrix/usage-limits
https://developers.google.com/maps/documentation/elevation/usage-limits
另外,请注意,距离矩阵的使用是以元素数量而不是请求数量来衡量的。元素数量是您的请求中的多个目的地的起源数量。因此,在每个距离矩阵请求中发送例如5个起点和5个目的地(25个元素),您将能够免费执行每日100个请求。