|
36 | 36 | var includes = (targetScript.getAttribute('include') || "").split(","); |
37 | 37 | var excludes = (targetScript.getAttribute('exclude') || "").split(","); |
38 | 38 | if (!inArray(excludes, 'mapbox-gl')) { |
39 | | - inputCSS("https://cdn.bootcss.com/mapbox-gl/0.43.0/mapbox-gl.css"); |
40 | | - inputScript("https://cdn.bootcss.com/mapbox-gl/0.43.0/mapbox-gl.js"); |
| 39 | + inputCSS("https://cdn.bootcss.com/mapbox-gl/0.45.0/mapbox-gl.css"); |
| 40 | + inputScript("https://cdn.bootcss.com/mapbox-gl/0.45.0/mapbox-gl.js"); |
41 | 41 | } |
42 | 42 | if (inArray(includes, 'draw')) { |
43 | | - inputCSS("http://iclient.supermap.io/libs/mapbox-gl-js/plugins/mapbox-gl-draw/mapbox-gl-draw.css"); |
44 | | - inputScript("http://iclient.supermap.io/libs/mapbox-gl-js/plugins/mapbox-gl-draw/mapbox-gl-draw.js"); |
| 43 | + inputCSS("http://iclient.supermap.io/web/libs/mapbox-gl-js/plugins/mapbox-gl-draw/1.0.9/mapbox-gl-draw.css"); |
| 44 | + inputScript("http://iclient.supermap.io/web/libs/mapbox-gl-js/plugins/mapbox-gl-draw/1.0.9/mapbox-gl-draw.js"); |
45 | 45 | } |
46 | 46 | if (inArray(includes, 'compare')) { |
47 | 47 | inputCSS("http://iclient.supermap.io/libs/mapbox-gl-js/plugins/mapbox-gl-compare/mapbox-gl-compare.css"); |
|
51 | 51 | inputScript("http://mapv.baidu.com/build/mapv.min.js"); |
52 | 52 | } |
53 | 53 | if (inArray(includes, 'echarts')) { |
54 | | - inputScript("https://cdn.bootcss.com/echarts/4.0.4/echarts.min.js"); |
| 54 | + inputScript("https://cdn.bootcss.com/echarts/4.1.0/echarts.min.js"); |
55 | 55 | inputScript("http://iclient.supermap.io/libs/echartsLayer/EchartsLayer.js"); |
56 | 56 | } |
57 | 57 | if (inArray(includes, 'three')) { |
58 | | - inputScript("https://cdn.bootcss.com/three.js/90/three.min.js"); |
| 58 | + inputScript("https://cdn.bootcss.com/three.js/92/three.min.js"); |
59 | 59 | } |
60 | 60 | if(inArray(includes,'deck')){ |
61 | 61 | inputScript("http://iclient.supermap.io/web/libs/deck.gl/5.1.3/deck.gl.min.js"); |
|
81 | 81 | inputScript("http://iclient.supermap.io/libs/three/plugins/loaders/GLTFLoader.js"); |
82 | 82 | } |
83 | 83 | if (inArray(includes, 'proj4')) { |
84 | | - inputScript("https://cdn.bootcss.com/proj4js/2.4.3/proj4.js"); |
| 84 | + inputScript("https://cdn.bootcss.com/proj4js/2.4.4/proj4.js"); |
85 | 85 | } |
86 | 86 | if (inArray(includes, 'echarts-gl')) { |
87 | | - inputScript("http://iclient.supermap.io/libs/echarts-gl/1.1.0/echarts-gl.min.js"); |
| 87 | + inputScript("http://iclient.supermap.io/web/libs/echarts-gl/1.1.1/echarts-gl.min.js"); |
88 | 88 | } |
89 | 89 | if (inArray(includes, 'shapefile')) { |
90 | 90 | inputScript("https://unpkg.com/shapefile@0.6.6/dist/shapefile.js"); |
|
0 commit comments