- switched coordinate order, to match Leaflet LatLngBounds object (#1163)

https://leafletjs.com/reference.html#latlngbounds
This commit is contained in:
Jo
2023-03-06 13:07:19 +00:00
committed by GitHub
parent 57cfbb5e3f
commit 185255f8e4
@@ -131,7 +131,7 @@
.addTo(map);
map.on('click', clearHighlight);
bounds = L.latLngBounds([[{{ data['bounds'][0] }},{{data['bounds'][1]}}],[{{ data['bounds'][2] }},{{data['bounds'][3]}}]])
bounds = L.latLngBounds([[{{ data['bounds'][1] }},{{data['bounds'][0]}}],[{{ data['bounds'][3] }},{{data['bounds'][2]}}]])
map.fitBounds(bounds, maxZoom={{ data['maxzoom']}});
</script>