diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js index b22cfd1..e98f7d2 100644 --- a/htdocs/mapscript.js +++ b/htdocs/mapscript.js @@ -348,7 +348,7 @@ function onHashChange(e, hash=null) { coordstr.push(0); // Default y if (coordstr.length < 3) coordstr.push(mymap.getZoom()); // Default zoom - var latlng = L.latLng(parseFloat(coordstr[0]), parseFloat(coordstr[1])); + var latlng = L.latLng(parseFloat(coordstr[1]), parseFloat(coordstr[0])); mymap.setView(latlng, parseInt(coordstr[2])); }