如何在 rd google 地图插件中包含谷歌地图 api 键
how to include googe maps api key in rd google map plugin
我正在使用 RD Google 地图插件,但我找不到 google api 脚本
页面不显示地图并显示此错误和灰色区域而不是地图
js?sensor=false&libraries=geometry,places&v=3.7&_=1525804623037:40 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
然后我尝试添加此脚本行来初始化 google 地图
<script src="https://maps.googleapis.com/maps/api/js?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" type="text/javascript"></script>
但是这次地图根本没有显示
有这个错误
js?sensor=false&libr…&_=1525804236821:96 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
如果我包含脚本,它会说它被多次包含,如果我排除它,它会说没有密钥
请指教
提前致谢
经过更多的搜索和挖掘,我在这里找到了答案
MissingKeyMapError when configuring Google Maps API
我尝试了该解决方案,发现它很有用,问题已解决
我正在使用 RD Google 地图插件,但我找不到 google api 脚本
页面不显示地图并显示此错误和灰色区域而不是地图
js?sensor=false&libraries=geometry,places&v=3.7&_=1525804623037:40 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
然后我尝试添加此脚本行来初始化 google 地图
<script src="https://maps.googleapis.com/maps/api/js?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" type="text/javascript"></script>
但是这次地图根本没有显示
有这个错误
js?sensor=false&libr…&_=1525804236821:96 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
如果我包含脚本,它会说它被多次包含,如果我排除它,它会说没有密钥
请指教
提前致谢
经过更多的搜索和挖掘,我在这里找到了答案
MissingKeyMapError when configuring Google Maps API
我尝试了该解决方案,发现它很有用,问题已解决