【发布时间】:2012-03-31 19:43:12
【问题描述】:
我正在尝试在 google maps API 中从 v2 迁移到 v3,但我不断收到此错误:Google Maps API 服务器拒绝了您的请求。请求中指定的“sensor”参数必须设置为“true”或“false”。
这是我正在使用的教程:https://developers.google.com/maps/documentation/javascript/tutorial
在 javascript 中我已将 src 更改为
<script type="text/javascript"
src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDzGdafsdfdfgoO4cHbfRGL8W23dgfafJKnA&sensor=TRUE">
</script>
但我不断收到以下错误: Google Maps API 服务器拒绝了您的请求。请求中指定的“sensor”参数必须设置为“true”或“false”。
错误是什么意思,我该如何解决?
【问题讨论】:
标签: javascript html google-maps-api-3