想在HBuild里使用ui/overlay/SimpleInfoWindow/tpl/container.html和overlay/SimpleMarker','overlay/SimpleInfoWindow'组件却发现main.js里的代码不能正常执行,一直报错。把从服务器上下载下来的main.js改名为gd.js并且放在本地。下面是错误提示:
Uncaught Error: Script error for "ui/overlay/SimpleMarker"
http://requirejs.org/docs/errors.html#scripterror at js/gd.js:37
Uncaught Error: Script error for "ui/overlay/SimpleInfoWindow"
http://requirejs.org/docs/errors.html#scripterror at js/gd.js:37
Uncaught Error: Script error for "file://webapi.amap.com/count?type=UIInit&k=284c4da5623fd808f2e6b8c55c9a3f31"
http://requirejs.org/docs/errors.html#scripterror at js/gd.js:37
6***@qq.com
- 发布:2017-04-05 01:10
- 更新:2017-04-05 01:10
- 阅读:2223
使用高德地图java script API出错
分类:HTML5+