index.html aktualisiert
This commit is contained in:
parent
52b403f13a
commit
27e4f1bb15
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user