【问题标题】:google maps js api and Places API Web Servicegoogle maps js api 和 Places API Web 服务
【发布时间】:2017-02-08 20:12:23
【问题描述】:

我们有一个网站使用来自 google maps javascript api 的 google places 自动完成功能。

我是这样连接api的:

<script type="text/javascript" src="https://maps.google.com/maps/api/js?region=AU&language=en-AU&hl=en&libraries=places&key=AIzaSyDcv7qx<..>"></script>

https://console.developers.google.com/apis/dashboard,我启用了 Google Places API Web Service 和 Google Maps JavaScript API。它可以工作,但对地方 api 使用 1000 个配额,而不是映射 js api 25000。 如果我禁用 Places API Web 服务,那么自动完成功能将停止工作。

有没有办法让自动完成功能使用 google maps api 而没有 Places API Web Service(应该用于服务器端)?

对不起我的英语。

【问题讨论】:

    标签: google-maps-api-3 autocomplete google-places-api


    【解决方案1】:

    不用了,看这篇博文:Building for Scale: Updates to Google Maps APIs Standard Plan

    #4。我们现在将 Google Maps JavaScript API 客户端请求计入相关网络服务 API 的每日限制。*

    【讨论】:

      猜你喜欢
      • 2020-05-11
      • 2015-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-18
      • 2017-08-26
      相关资源
      最近更新 更多