L ->leaflet
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-07-18 17:59:23 +02:00
parent a8264ac7db
commit aa22f698b1

View file

@ -58,7 +58,7 @@
minZoom: 12
});
var latlng = L.latLng(latitude, longitude);
var latlng = leaflet.latLng(latitude, longitude);
map.setView(latlng, 13);
map.setMaxBounds(map.getBounds());