From 6bc2e1665701b236f15092a2b4ddf1765af04c79 Mon Sep 17 00:00:00 2001 From: ISA Date: Tue, 16 Sep 2025 11:20:49 +0200 Subject: [PATCH] style: alle Icons Panels in gleiche Position bringen --- .env.development | 2 +- .env.production | 2 +- components/mainComponent/MapComponent.js | 3 +- components/uiWidgets/AreaDropdown.js | 4 +- .../MapLayersControlPanel.js | 44 +------------------ package-lock.json | 4 +- package.json | 2 +- 7 files changed, 11 insertions(+), 50 deletions(-) diff --git a/.env.development b/.env.development index 9a7be6e8c..a9d0753bd 100644 --- a/.env.development +++ b/.env.development @@ -23,4 +23,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.368 +NEXT_PUBLIC_APP_VERSION=1.1.369 diff --git a/.env.production b/.env.production index 46894803c..fe7890987 100644 --- a/.env.production +++ b/.env.production @@ -24,4 +24,4 @@ NEXT_PUBLIC_USE_MOCKS=false # basePath wird jetzt in public/config.json gepflegt # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.1.368 +NEXT_PUBLIC_APP_VERSION=1.1.369 diff --git a/components/mainComponent/MapComponent.js b/components/mainComponent/MapComponent.js index 31db1c3d9..11134d82a 100644 --- a/components/mainComponent/MapComponent.js +++ b/components/mainComponent/MapComponent.js @@ -1203,7 +1203,6 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { > - {overlay === "area" && setOverlay(null)} />} {/*Lupe: Koordinatensuche ein-/ausblenden */} + {/* Marker/AreaDropdown Panel außerhalb der Button-Leiste platzieren, damit die Position mit den anderen Panels identisch ist */} + {overlay === "area" && setOverlay(null)} />} {/* BaseMapPanel entfernt */} diff --git a/components/uiWidgets/AreaDropdown.js b/components/uiWidgets/AreaDropdown.js index 39a4cdc12..7f03f9f2e 100644 --- a/components/uiWidgets/AreaDropdown.js +++ b/components/uiWidgets/AreaDropdown.js @@ -54,8 +54,8 @@ const AreaDropdown = ({ onClose }) => { }, [onClose]); return ( -
-
+
+
Station wählen
- - - {[ - ...new Map( - (GisStationsStaticDistrict.Points || []) - .filter(p => !!p.Area_Name) - .map(p => [p.Area_Name, p]) - ).values(), - ].map(item => ( - - ))} - - */} - - {/* -
- - Expand -
- */} -
- +
+
{/* Checkboxen mit Untermenüs */}
{systemListing.map(system => ( diff --git a/package-lock.json b/package-lock.json index 29cdf524c..d363c9e8f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nodemap", - "version": "1.1.368", + "version": "1.1.369", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nodemap", - "version": "1.1.368", + "version": "1.1.369", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", diff --git a/package.json b/package.json index 6dae0d072..27e050949 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodemap", - "version": "1.1.368", + "version": "1.1.369", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0",