【问题标题】:When do you need a Google Maps API Key?您何时需要 Google Maps API 密钥?
【发布时间】:2014-10-08 23:26:16
【问题描述】:

Google's Example - Street View Service 之后,我能够制作一个非常简单的地图来让自己开始。不过我还没有注册 API Key。

我读过的教程如Tutsplus - Getting creative with the Google Maps API 说这应该是第一步。

我应该有一条线:

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_GOES_HERE&sensor=true"></script>

但至少在 Google 的这个初始示例中,它适用于:

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>

我读到了:

但他们并没有真正回答我更笼统的问题。我什么时候需要注册 API Key?如果不注册而只使用..js?v=3.exp,我会面临哪些限制?还有其他我应该使用的东西...例如,这两个 SO 问题之一提到了...maps/api/js?sensor=false

【问题讨论】:

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


    【解决方案1】:

    您不需要 API 密钥,但它可以让您监控您的应用程序。如果您想获得许可证,您还需要一个 API 密钥。

    来源:https://developers.google.com/maps/signup

    【讨论】:

      猜你喜欢
      • 2011-07-04
      • 1970-01-01
      • 2017-08-28
      • 1970-01-01
      • 2018-11-05
      • 2011-03-27
      • 2011-11-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多