feat: Plus und Minus Zoom Icons

This commit is contained in:
ISA
2025-09-16 12:13:49 +02:00
parent 31c770f778
commit 5b86d5293b
5 changed files with 6 additions and 8 deletions

View File

@@ -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

View File

@@ -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

4
package-lock.json generated
View File

@@ -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",

View File

@@ -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",

View File

@@ -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, {