[英]Google Maps Javascript API client side billing
根据 Google 地图 Javascript API 计费文档,使用google.maps.Map()
创建的每个新 map 的成本为“撰写本文时的 0.007 美元”。 由于此代码在客户端上执行,如果客户端运行while(1) { new google.maps.Map(); }
while(1) { new google.maps.Map(); }
或等价物,在谷歌地图控制台按用户/全局配额停止之前是否会产生费用?
Based on the documentation , Maps JavaScript API is billed per map load and map loads are generated every time a map is created with the google.maps.Map() class.
因此,如果您有一个在内部调用 google.maps.Map() class 并创建多个 map 负载的循环,您将为生成的 map 负载付费。 它只会在您的循环停止或您达到最初设置为unlimited的每天最大请求数(QPD)时停止。 因此,请确保优化您的实施以避免不必要的费用。
如果您仍需要对此进行进一步说明,请随时联系 Google Maps Platform 支持。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.