index.html aktualisiert

This commit is contained in:
Daniel Nagel 2025-09-02 09:22:38 +02:00
parent 52b403f13a
commit 27e4f1bb15

View File

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