Open wzf9 opened 11 months ago
经过测试,可以运行,谢谢分享
<script src="http://webapi.amap.com/maps?v=1.4.8&key=替换您的安全密钥&plugin=AMap.Driving,AMap.ArrivalRange,AMap.Scale,AMap.Geocoder,AMap.Transfer,AMap.Autocomplete"></script>
替换为:
<script type="text/javascript"> window._AMapSecurityConfig = { securityJsCode:'替换为您申请的安全密钥', } </script> <script src="http://webapi.amap.com/maps?v=1.4.8&key=替换您的安全密钥&plugin=AMap.Driving,AMap.ArrivalRange,AMap.Scale,AMap.Geocoder,AMap.Transfer,AMap.Autocomplete"></script>
经过测试,可以运行,谢谢分享
--------------------------------------
需要修改index.html:
找到
替换为: