|
54 | 54 | var excludes = (targetScript.getAttribute('exclude') || '').split(','); |
55 | 55 | // 在线 |
56 | 56 | if (!inArray(excludes, 'leaflet')) { |
57 | | - inputCSS('https://iclient.supermap.io/web/libs/leaflet/1.7.1/leaflet.css'); |
58 | | - inputScript('https://iclient.supermap.io/web/libs/leaflet/1.7.1/leaflet.js'); |
| 57 | + inputCSS('https://iclient.supermap.io/web/libs/leaflet/1.7.1/leaflet.css'); |
| 58 | + inputScript('https://iclient.supermap.io/web/libs/leaflet/1.7.1/leaflet.js'); |
59 | 59 | } |
60 | 60 | if (inArray(includes, 'mapbox-gl-enhance')) { |
61 | 61 | inputCSS('https://iclient.supermap.io/web/libs/mapbox-gl-js-enhance/1.12.0/mapbox-gl-enhance.css'); |
|
74 | 74 | inputScript('https://iclient.supermap.io/web/libs/leaflet/plugins/leaflet.draw/1.0.4/leaflet.draw.js'); |
75 | 75 | } |
76 | 76 | if (inArray(includes, 'leaflet-geoman')) { |
77 | | - inputCSS('https://iclient.supermap.io/web/libs/leaflet/plugins/leaflet-geoman/2.11.3/leaflet-geoman.css'); |
78 | | - inputScript('https://iclient.supermap.io/web/libs/leaflet/plugins/leaflet-geoman/2.11.3/leaflet-geoman.min.js'); |
| 77 | + inputCSS('https://iclient.supermap.io/web/libs/leaflet/plugins/leaflet-geoman/2.11.3/leaflet-geoman.css'); |
| 78 | + inputScript('https://iclient.supermap.io/web/libs/leaflet/plugins/leaflet-geoman/2.11.3/leaflet-geoman.min.js'); |
79 | 79 |
|
80 | 80 | } |
81 | 81 | if (inArray(includes, 'leaflet.miniMap')) { |
|
95 | 95 | inputScript('https://iclient.supermap.io/web/libs/elasticsearch/16.7.1/elasticsearch.min.js'); |
96 | 96 | } |
97 | 97 | if (inArray(includes, 'xlsx')) { |
98 | | - inputScript('https://iclient.supermap.io/web/libs/xlsx/0.18.0/xlsx.core.min.js'); |
| 98 | + inputScript('https://iclient.supermap.io/web/libs/xlsx/0.18.5/xlsx.core.min.js'); |
99 | 99 | } |
100 | 100 | // 本地 |
101 | 101 | if (inArray(includes, 'leaflet.sidebyside')) { |
102 | 102 | inputScript('https://iclient.supermap.io/web/libs/leaflet/plugins/leaflet-side-by-side/leaflet-side-by-side.min.js'); |
103 | 103 | } |
104 | 104 | if (inArray(includes, 'd3')) { |
105 | | - inputScript('https://iclient.supermap.io/web/libs/d3/7.0.3/d3.min.js'); |
| 105 | + inputScript('https://iclient.supermap.io/web/libs/d3/7.4.4/d3.min.js'); |
106 | 106 | } |
107 | 107 | if (inArray(includes, 'd3-hexbin')) { |
108 | 108 | inputScript('https://iclient.supermap.io/web/libs/d3/d3-hexbin.v0.2.min.js'); |
|
166 | 166 | if (inArray(includes, 'leaflet-mapbox-gl')) { |
167 | 167 | inputScript('https://iclient.supermap.io/web/libs/leaflet-mapbox-gl/0.0.15/leaflet-mapbox-gl.min.js'); |
168 | 168 | } |
169 | | - |
| 169 | + |
170 | 170 | } |
171 | 171 |
|
172 | 172 | load(); |
|
0 commit comments