del: [DeviceLayers]

This commit is contained in:
ISA
2025-08-21 17:10:32 +02:00
parent c44a755077
commit bf7b62d110
5 changed files with 5 additions and 11 deletions

View File

@@ -24,4 +24,4 @@ NEXT_PUBLIC_USE_MOCKS=true
# z.B. http://10.10.0.13/xyz/index.aspx -> basePath in config.json auf /xyz setzen # z.B. http://10.10.0.13/xyz/index.aspx -> basePath in config.json auf /xyz setzen
# basePath wird jetzt in public/config.json gepflegt # basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.1.340 NEXT_PUBLIC_APP_VERSION=1.1.341

View File

@@ -25,4 +25,4 @@ NEXT_PUBLIC_USE_MOCKS=false
# basePath wird jetzt in public/config.json gepflegt # basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.1.340 NEXT_PUBLIC_APP_VERSION=1.1.341

View File

@@ -53,12 +53,6 @@ const useDynamicDeviceLayers = (map, GisSystemStatic, mapLayersVisibility, prior
uniqueMarkers.forEach(marker => { uniqueMarkers.forEach(marker => {
marker.addTo(layerRefs.current[key]); marker.addTo(layerRefs.current[key]);
}); });
// Debug: Anzahl Marker in LayerGroup
console.log(
`[DeviceLayers] ${
layerRefs.current[key].getLayers().length
} Marker in LayerGroup für ${key}`
);
} }
setMarkerStates(prev => ({ ...prev, [key]: newMarkers })); setMarkerStates(prev => ({ ...prev, [key]: newMarkers }));
}, },

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "nodemap", "name": "nodemap",
"version": "1.1.340", "version": "1.1.341",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "nodemap", "name": "nodemap",
"version": "1.1.340", "version": "1.1.341",
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0", "@emotion/styled": "^11.13.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "nodemap", "name": "nodemap",
"version": "1.1.340", "version": "1.1.341",
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0", "@emotion/styled": "^11.13.0",