diff options
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/mapscript.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js index e98f7d2..716c90a 100644 --- a/htdocs/mapscript.js +++ b/htdocs/mapscript.js @@ -184,7 +184,7 @@ function jump_to(latlng, zoom = -1) { if (zoom == -1) zoom = mymap.getZoom(); if (!editor_mode) - document.location.hash = "#" + Math.round(latlng.lat) + "," + Math.round(latlng.lng) + "," + zoom; + document.location.hash = "#" + Math.round(latlng.lng) + "," + Math.round(latlng.lat) + "," + zoom; else mymap.setView(latlng, zoom); } |