index.html aktualisiert

This commit is contained in:
Daniel Nagel 2025-09-02 09:20:29 +02:00
parent 8340064f23
commit 52b403f13a

View File

@ -114,14 +114,6 @@ if (hash.length >= 2) {
const x = parseFloat(hash[0]);
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);
// optional: Marker an Position setzen
L.marker([y, x])
.addTo(map)
.bindPopup(`X: ${x}, Y: ${y}`)
.openPopup();
}
}
new CenteredTiles({