正在关注Google's Example - Street View Service我能够制作一张非常简单的地图,让自己开始。尽管我还没有注册API密钥。您何时需要Google Maps API密钥?
我读过的教程如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>
但至少在从谷歌这个初始例如它工作得很好用:
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
我读:
但他们并没有真正回答我的更普遍的问题。何时需要注册API密钥?我没有注册并使用..js?v=3.exp
代替了什么限制?有没有其他的东西我应该使用...这两个问题之一提到...maps/api/js?sensor=false
例如?