使用supermap的MapboxGl节点需要引用的外部Js文件集合,官网中引入的 两个Js文件里面包含许多外部资源js
<script type="text/javascript" include="bootstrap,jquery,widgets.alert" src="../../dist/js/include-web.js"></script>
<script type="text/javascript" include="draw,compare" src="../../dist/mapboxgl/include-mapboxgl.js"></script>
这里整理js集合,下载下来的js存放到项目包下,需要修改include-web.js里面引入的路径问题。
github地址:https://github.com/zhangliqingyun/MapboxGl-Js
说明:引入include-web.js文件时,需要关联的其它js由引入标签include="bootstrap,jquery,widgets.alert"决定,需要修改里面的相对路径