chore: maxZoom = 20;

This commit is contained in:
ISA
2025-09-16 11:55:41 +02:00
parent eaacec71da
commit 995f084e15
12 changed files with 17 additions and 26 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.370 NEXT_PUBLIC_APP_VERSION=1.1.371

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.370 NEXT_PUBLIC_APP_VERSION=1.1.371

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "nodemap", "name": "nodemap",
"version": "1.1.370", "version": "1.1.371",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "nodemap", "name": "nodemap",
"version": "1.1.370", "version": "1.1.371",
"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.370", "version": "1.1.371",
"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 @@
<testsuites id="" name="" tests="2" failures="1" skipped="0" errors="0" time="18.959252999999997"> <testsuites id="" name="" tests="2" failures="1" skipped="0" errors="0" time="18.500582">
<testsuite name="mapcomponent.spec.js" timestamp="2025-09-16T09:35:23.479Z" hostname="chromium" tests="2" failures="1" skipped="0" time="23.758" errors="0"> <testsuite name="mapcomponent.spec.js" timestamp="2025-09-16T09:55:00.328Z" hostname="chromium" tests="2" failures="1" skipped="0" time="20.973" errors="0">
<testcase name="MapComponent" classname="mapcomponent.spec.js" time="16.25"> <testcase name="MapComponent" classname="mapcomponent.spec.js" time="16.723">
<failure message="mapcomponent.spec.js:162:5 MapComponent" type="FAILURE"> <failure message="mapcomponent.spec.js:162:5 MapComponent" type="FAILURE">
<![CDATA[ [chromium] mapcomponent.spec.js:162:5 MapComponent ─────────────────────────────────────────── <![CDATA[ [chromium] mapcomponent.spec.js:162:5 MapComponent ───────────────────────────────────────────
@@ -34,14 +34,6 @@
──────────────────────────────────────────────────────────────────────────────────────────────── ────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ..\..\test-results\mapcomponent-MapComponent-chromium\error-context.md Error Context: ..\..\test-results\mapcomponent-MapComponent-chromium\error-context.md
attachment #5: trace (application/zip) ─────────────────────────────────────────────────────────
..\..\test-results\mapcomponent-MapComponent-chromium\trace.zip
Usage:
npx playwright show-trace ..\..\test-results\mapcomponent-MapComponent-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
]]> ]]>
</failure> </failure>
<system-out> <system-out>
@@ -61,17 +53,10 @@
[[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\video.webm]] [[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\video.webm]]
[[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\error-context.md]] [[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\error-context.md]]
[[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\trace.zip]]
]]> ]]>
</system-out> </system-out>
</testcase> </testcase>
<testcase name="mouse wheel zoom updates mapZoom" classname="mapcomponent.spec.js" time="7.508"> <testcase name="mouse wheel zoom updates mapZoom" classname="mapcomponent.spec.js" time="4.25">
<system-out>
<![CDATA[
[[ATTACHMENT|..\..\test-results\mapcomponent-mouse-wheel-zoom-updates-mapZoom-chromium\trace.zip]]
]]>
</system-out>
</testcase> </testcase>
</testsuite> </testsuite>
</testsuites> </testsuites>

View File

@@ -0,0 +1,6 @@
{
"status": "failed",
"failedTests": [
"6232baea8c2400610a3b-ecc9849a86ce59ad8482"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@@ -67,7 +67,7 @@ export const initializeMap = (
let mapCenter = [53.111111, 8.4625]; let mapCenter = [53.111111, 8.4625];
let mapZoom = 12; let mapZoom = 12;
let minZoom = 5; let minZoom = 5;
let maxZoom = 15; let maxZoom = 20;
try { try {
if (window && window.__leafletConfig) { if (window && window.__leafletConfig) {
config = window.__leafletConfig; config = window.__leafletConfig;

View File

@@ -15,7 +15,7 @@ export const zoomIn = (e, map) => {
return; return;
} }
let maxZoom = 19; let maxZoom = 20;
try { try {
if (window && window.__tileSourceMaxZoom !== undefined) { if (window && window.__tileSourceMaxZoom !== undefined) {
maxZoom = window.__tileSourceMaxZoom; maxZoom = window.__tileSourceMaxZoom;