diff --git a/dist/mapboxgl/include-mapboxgl.js b/dist/mapboxgl/include-mapboxgl.js index 4ddfd2613..6b279d63e 100644 --- a/dist/mapboxgl/include-mapboxgl.js +++ b/dist/mapboxgl/include-mapboxgl.js @@ -201,6 +201,9 @@ if (inArray(includes, 'vue-cesium')) { inputScript(libsurl + '/vue-cesium/2.1.4/index.umd.min.js'); } + if (inArray(includes, 'snap')) { + inputScript(libsurl + '/mapboxglDrawSnap/0.2.0/mapboxglDrawSnap.js'); + } } load({ diff --git a/dist/maplibregl/include-maplibregl.js b/dist/maplibregl/include-maplibregl.js index c851240a6..62d0b125a 100644 --- a/dist/maplibregl/include-maplibregl.js +++ b/dist/maplibregl/include-maplibregl.js @@ -174,6 +174,9 @@ if (inArray(includes, 'turf')) { inputScript(libsurl + '/turf/6.5.0/turf.min.js'); } + if (inArray(includes, 'snap')) { + inputScript(libsurl + '/mapboxglDrawSnap/0.2.0/mapboxglDrawSnap.js'); + } if (!inArray(excludes, 'iclient-maplibregl')) { if (supportES6()) { inputScript('../../dist/maplibregl/iclient-maplibregl-es6.min.js'); diff --git a/dist/ol/include-ol.js b/dist/ol/include-ol.js index aa9f0d598..5380bada6 100644 --- a/dist/ol/include-ol.js +++ b/dist/ol/include-ol.js @@ -119,6 +119,9 @@ if (inArray(includes, 'xlsx')) { inputScript(libsurl + '/xlsx/0.19.3/xlsx.core.min.js'); } + if (inArray(includes, 'lodash')) { + inputScript(libsurl + '/lodash/4.17.21/lodash.min.js'); + } // dist if (!inArray(excludes, 'iclient-ol')) { diff --git a/examples/js/include-web.js b/examples/js/include-web.js index 8068a9185..0857af2be 100644 --- a/examples/js/include-web.js +++ b/examples/js/include-web.js @@ -211,6 +211,10 @@ inputScript(libsurl + '/iclient8c/examples/js/plottingPanel/colorpicker/js/colorpicker.js'); inputCSS(libsurl + '/iclient8c/examples/js/plottingPanel/colorpicker/css/colorpicker.css'); } + if (inArray(includes, 'viewer')) { + inputScript(libsurl + '/viewerjs/viewer.js'); + inputCSS(libsurl + '/viewerjs/css/viewer.css'); + } } function datGuiI18N() { diff --git a/examples/leaflet/drawAndEditFeatures.html b/examples/leaflet/drawAndEditFeatures.html index 3d4a6dbb2..b9f04a2d1 100644 --- a/examples/leaflet/drawAndEditFeatures.html +++ b/examples/leaflet/drawAndEditFeatures.html @@ -7,8 +7,6 @@