@geowiki/map 0.16.9-dev.10 → 0.16.9-dev.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20331,6 +20331,8 @@ var MapLibre = (0, import_react67.forwardRef)(({ baseLayers, customLayers, mapCo
|
|
|
20331
20331
|
}
|
|
20332
20332
|
};
|
|
20333
20333
|
const loadSourceData = () => {
|
|
20334
|
+
if ((sourceData == null ? void 0 : sourceData.length) == 0)
|
|
20335
|
+
return;
|
|
20334
20336
|
sourceData == null ? void 0 : sourceData.forEach((source) => __async(void 0, null, function* () {
|
|
20335
20337
|
const existing_data = map == null ? void 0 : map.getSource(source.name);
|
|
20336
20338
|
if (!existing_data) {
|
package/dist/index.mjs
CHANGED
|
@@ -9022,6 +9022,8 @@ var MapLibre = forwardRef5(({ baseLayers, customLayers, mapControls, sourceData,
|
|
|
9022
9022
|
}
|
|
9023
9023
|
};
|
|
9024
9024
|
const loadSourceData = () => {
|
|
9025
|
+
if ((sourceData == null ? void 0 : sourceData.length) == 0)
|
|
9026
|
+
return;
|
|
9025
9027
|
sourceData == null ? void 0 : sourceData.forEach((source) => __async(void 0, null, function* () {
|
|
9026
9028
|
const existing_data = map == null ? void 0 : map.getSource(source.name);
|
|
9027
9029
|
if (!existing_data) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geowiki/map",
|
|
3
|
-
"version": "0.16.9-dev.
|
|
3
|
+
"version": "0.16.9-dev.11",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"react-hotkeys-hook": "^4.5.0",
|
|
25
25
|
"react-leaflet": "^4.2.1",
|
|
26
26
|
"zod": "^3.25.7",
|
|
27
|
-
"@geowiki/core": "0.16.9-dev.
|
|
28
|
-
"@geowiki/
|
|
29
|
-
"@geowiki/
|
|
30
|
-
"@geowiki/
|
|
31
|
-
"@geowiki/ui": "0.16.9-dev.
|
|
27
|
+
"@geowiki/core": "0.16.9-dev.11",
|
|
28
|
+
"@geowiki/design-system": "0.16.9-dev.11",
|
|
29
|
+
"@geowiki/cms-proxy": "0.16.9-dev.11",
|
|
30
|
+
"@geowiki/evoland-api-proxy": "0.16.9-dev.11",
|
|
31
|
+
"@geowiki/ui": "0.16.9-dev.11"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@dnd-kit/core": "^6.3.1",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"tsup": "^8.0.2",
|
|
89
89
|
"typescript": "5.4.2",
|
|
90
90
|
"eslint-config-custom": "0.0.0",
|
|
91
|
-
"
|
|
92
|
-
"
|
|
91
|
+
"tailwind-config": "0.0.0",
|
|
92
|
+
"tsconfig": "0.0.0"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|
|
95
95
|
"build": "tsup && tailwindcss -i styles.css -o dist/styles.css --minify",
|