From bf7b62d110f1809881ba94e480cdc66fbe217117 Mon Sep 17 00:00:00 2001 From: ISA Date: Thu, 21 Aug 2025 17:10:32 +0200 Subject: [PATCH] del: [DeviceLayers] --- .env.development | 2 +- .env.production | 2 +- components/devices/hooks/useDynamicDeviceLayers.js | 6 ------ package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.env.development b/.env.development index fe36f0ad3..0ff76ef6d 100644 --- a/.env.development +++ b/.env.development @@ -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 # basePath wird jetzt in public/config.json gepflegt # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.1.340 +NEXT_PUBLIC_APP_VERSION=1.1.341 diff --git a/.env.production b/.env.production index 3c090c085..8106bdb07 100644 --- a/.env.production +++ b/.env.production @@ -25,4 +25,4 @@ NEXT_PUBLIC_USE_MOCKS=false # basePath wird jetzt in public/config.json gepflegt # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.1.340 +NEXT_PUBLIC_APP_VERSION=1.1.341 diff --git a/components/devices/hooks/useDynamicDeviceLayers.js b/components/devices/hooks/useDynamicDeviceLayers.js index 00fa53608..e60ad85d9 100644 --- a/components/devices/hooks/useDynamicDeviceLayers.js +++ b/components/devices/hooks/useDynamicDeviceLayers.js @@ -53,12 +53,6 @@ const useDynamicDeviceLayers = (map, GisSystemStatic, mapLayersVisibility, prior uniqueMarkers.forEach(marker => { 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 })); }, diff --git a/package-lock.json b/package-lock.json index 81540caea..ebd886d74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nodemap", - "version": "1.1.340", + "version": "1.1.341", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nodemap", - "version": "1.1.340", + "version": "1.1.341", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", diff --git a/package.json b/package.json index 36a132cb7..76e60af26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodemap", - "version": "1.1.340", + "version": "1.1.341", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0",