From 5b86d5293b076375117ca7ce18aa2a4c853d8911 Mon Sep 17 00:00:00 2001 From: ISA Date: Tue, 16 Sep 2025 12:13:49 +0200 Subject: [PATCH] feat: Plus und Minus Zoom Icons --- .env.development | 2 +- .env.production | 2 +- package-lock.json | 4 ++-- package.json | 2 +- utils/initializeMap.js | 4 +--- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.env.development b/.env.development index 64de49ee6..175598ed3 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.373 +NEXT_PUBLIC_APP_VERSION=1.1.374 diff --git a/.env.production b/.env.production index d984336de..c5df6cb6f 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.373 +NEXT_PUBLIC_APP_VERSION=1.1.374 diff --git a/package-lock.json b/package-lock.json index 8ba51f7bd..08bd6f665 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nodemap", - "version": "1.1.373", + "version": "1.1.374", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nodemap", - "version": "1.1.373", + "version": "1.1.374", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", diff --git a/package.json b/package.json index 06c8225b6..cedcf3899 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodemap", - "version": "1.1.373", + "version": "1.1.374", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", diff --git a/utils/initializeMap.js b/utils/initializeMap.js index 22ceb9ea7..43e7452e7 100644 --- a/utils/initializeMap.js +++ b/utils/initializeMap.js @@ -145,9 +145,7 @@ export const initializeMap = ( // Add visible +/- zoom control bottom-right (playwright-friendly) try { - L.control - .zoom({ position: "bottomright" }) - .addTo(initMap); + L.control.zoom({ position: "bottomright" }).addTo(initMap); } catch (_) {} L.tileLayer(tileLayerUrl, {