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 # 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.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 # basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer # 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", "name": "nodemap",
"version": "1.1.373", "version": "1.1.374",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "nodemap", "name": "nodemap",
"version": "1.1.373", "version": "1.1.374",
"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.373", "version": "1.1.374",
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0", "@emotion/styled": "^11.13.0",

View File

@@ -145,9 +145,7 @@ export const initializeMap = (
// Add visible +/- zoom control bottom-right (playwright-friendly) // Add visible +/- zoom control bottom-right (playwright-friendly)
try { try {
L.control L.control.zoom({ position: "bottomright" }).addTo(initMap);
.zoom({ position: "bottomright" })
.addTo(initMap);
} catch (_) {} } catch (_) {}
L.tileLayer(tileLayerUrl, { L.tileLayer(tileLayerUrl, {