|
55 | 55 | var includes = (targetScript.getAttribute('include') || '').split(','); |
56 | 56 | var excludes = (targetScript.getAttribute('exclude') || '').split(','); |
57 | 57 | if (!inArray(includes, 'maplibre-gl-enhance') && !inArray(excludes, 'maplibregl')) { |
58 | | - inputCSS(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min.css'); |
59 | | - inputScript(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min.js'); |
| 58 | + inputCSS(libsurl + '/maplibre-gl-js/5.6.0/maplibre-gl.min.css'); |
| 59 | + inputScript(libsurl + '/maplibre-gl-js/5.6.0/maplibre-gl.min.js'); |
60 | 60 | } |
61 | 61 | if (inArray(includes, 'maplibre-gl-enhance')) { |
62 | 62 | inputCSS(libsurl + '/maplibre-gl-js-enhance/4.3.0-5/maplibre-gl-enhance.css'); |
|
69 | 69 | inputScript(libsurl + '/antv/g2/4.2.8/g2.min.js'); |
70 | 70 | } |
71 | 71 | if (inArray(includes, 'turf')) { |
72 | | - inputScript(libsurl + '/turf/6.5.0/turf.min.js'); |
| 72 | + inputScript(libsurl + '/turf/7.2.0/turf.min.js'); |
73 | 73 | } |
74 | 74 | if (inArray(includes, 'draw')) { |
75 | 75 | inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-draw/1.4.3/mapbox-gl-draw.min.css'); |
|
78 | 78 | if (inArray(includes, 'mapboxgl-draw-rectangle-drag')) { |
79 | 79 | inputScript(libsurl + '/mapboxgl-draw-rectangle-drag/1.0.1/mapboxgl-draw-rectangle-drag.browser.js'); |
80 | 80 | } |
81 | | - if (inArray(includes, 'compare')) { |
82 | | - inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.1/mapbox-gl-compare.css'); |
83 | | - inputScript(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.1/mapbox-gl-compare.js'); |
84 | | - } |
85 | 81 | if (inArray(includes, 'mapv')) { |
86 | 82 | inputScript(libsurl + '/mapv/2.0.62/mapv.min.js'); |
87 | 83 | } |
|
105 | 101 | inputScript(libsurl + '/xlsx/0.19.3/xlsx.core.min.js'); |
106 | 102 | } |
107 | 103 | if (inArray(includes, 'proj4')) { |
108 | | - inputScript(libsurl + '/proj4/2.11.0/proj4.min.js'); |
| 104 | + inputScript(libsurl + '/proj4/2.17.0/proj4.min.js'); |
109 | 105 | } |
110 | 106 | if (inArray(includes, 'shapefile')) { |
111 | 107 | inputScript(libsurl + '/shapefile/shapefile.js'); |
|
175 | 171 | if (inArray(includes, 'g6')) { |
176 | 172 | inputScript(libsurl + '/antv/g6/4.3.2/g6.min.js'); |
177 | 173 | } |
178 | | - if (inArray(includes, 'turf')) { |
179 | | - inputScript(libsurl + '/turf/6.5.0/turf.min.js'); |
180 | | - } |
181 | 174 | if (inArray(includes, 'snap')) { |
182 | 175 | inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.min.js'); |
183 | 176 | } |
|
0 commit comments