我使用 Google Maps API 的网页停止工作,显示此警告
"Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required" util.js:210:33
我已从脚本中删除了“传感器”参数:
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=AIzaSyDUfHlQGcDOJ4MUcEdhBaIs0Qvs80Fmes4"></script>
然后它在这一行标记了错误:
google.load("earth", "1.x");
从昨天开始,我一直在查看帮助论坛,但一直找不到解决方案。
最佳答案
The Google Earth API is no longer available.
来自博客:
we have decided to retire the Google Earth API. Per our deprecation policy, the API will be supported until one year from today and will be turned off on December 12, 2015.
关于javascript - Google map API - 未捕获错误 : Module: 'earth' not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42007768/