|
56 | 56 | var excludes = (targetScript.getAttribute('exclude') || '').split(','); |
57 | 57 | // 在线 |
58 | 58 | if (!inArray(excludes, 'leaflet')) { |
59 | | - inputCSS(libsurl + '/leaflet/1.7.1/leaflet.css'); |
60 | | - inputScript(libsurl + '/leaflet/1.7.1/leaflet.js'); |
| 59 | + inputCSS(libsurl + '/leaflet/1.9.4/leaflet.css'); |
| 60 | + inputScript(libsurl + '/leaflet/1.9.4/leaflet.js'); |
61 | 61 | } |
62 | 62 | if (inArray(includes, 'mapbox-gl-enhance')) { |
63 | 63 | inputCSS(libsurl + '/mapbox-gl-js-enhance/1.12.0-1/mapbox-gl-enhance.css'); |
|
76 | 76 | inputScript(libsurl + '/leaflet/plugins/leaflet.draw/1.0.4/leaflet.draw.js'); |
77 | 77 | } |
78 | 78 | if (inArray(includes, 'leaflet-geoman')) { |
79 | | - inputCSS(libsurl + '/leaflet/plugins/leaflet-geoman/2.11.3/leaflet-geoman.css'); |
80 | | - inputScript(libsurl + '/leaflet/plugins/leaflet-geoman/2.11.3/leaflet-geoman.min.js'); |
| 79 | + inputCSS(libsurl + '/leaflet/plugins/leaflet-geoman/2.14.2/leaflet-geoman.css'); |
| 80 | + inputScript(libsurl + '/leaflet/plugins/leaflet-geoman/2.14.2/leaflet-geoman.min.js'); |
81 | 81 |
|
82 | 82 | } |
83 | 83 | if (inArray(includes, 'leaflet.miniMap')) { |
|
104 | 104 | } |
105 | 105 | // 本地 |
106 | 106 | if (inArray(includes, 'leaflet.sidebyside')) { |
107 | | - inputScript(libsurl + '/leaflet/plugins/leaflet-side-by-side/leaflet-side-by-side.min.js'); |
| 107 | + inputScript(libsurl + '/leaflet/plugins/leaflet-side-by-side/2.0.1/leaflet-side-by-side.min.js'); |
108 | 108 | } |
109 | 109 | if (inArray(includes, 'd3')) { |
110 | 110 | inputScript(libsurl + '/d3/7.8.2/d3.min.js'); |
|
127 | 127 | } |
128 | 128 | if (inArray(includes, 'pixi')) { |
129 | 129 | inputScript(libsurl + '/pixi/4.8.7/pixi.min.js'); |
130 | | - inputScript(libsurl + '/leaflet/plugins/Leaflet.PixiOverlay/1.8.2/L.PixiOverlay.min.js'); |
| 130 | + inputScript(libsurl + '/leaflet/plugins/Leaflet.PixiOverlay/1.9.4/L.PixiOverlay.min.js'); |
131 | 131 | inputScript(libsurl + '/leaflet/plugins/Leaflet.PixiOverlay/MarkerContainer.js'); |
132 | 132 | inputScript(libsurl + '/bezier-easing/2.1.0/bezier-easing.js'); |
133 | 133 | } |
134 | 134 | if (inArray(includes, 'tensorflow')) { |
135 | 135 | inputScript(libsurl + '/tensorflow/3.9.0/tf.min.js'); |
136 | 136 | } |
137 | 137 |
|
138 | | - if (inArray(includes, 'FGB')) { |
139 | | - inputScript(libsurl + '/flatgeobuf-geojson/3.24.0/flatgeobuf-geojson.min.js'); |
140 | | - } |
141 | | - |
142 | 138 | // iclient |
143 | 139 | if (!inArray(excludes, 'iclient-leaflet')) { |
144 | 140 | if (supportES6()) { |
|
0 commit comments