From 27e4f1bb1582e52369808ebacf64ed4338414b39 Mon Sep 17 00:00:00 2001 From: Daniel Nagel Date: Tue, 2 Sep 2025 09:22:38 +0200 Subject: [PATCH] index.html aktualisiert --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index f12272f..627823a 100644 --- a/index.html +++ b/index.html @@ -115,6 +115,9 @@ if (hash.length >= 2) { const y = parseFloat(hash[1]); const z = hash.length >= 3 ? parseInt(hash[2]) : 5; } +if (!isNaN(x) && !isNaN(y)) { + map.setView([y, x], isNaN(z) ? 5 : z); +} new CenteredTiles({ tileSize: TILE,