Zoom out map a little bit in node preview.

This commit is contained in:
baldo 2022-08-26 18:13:05 +02:00
parent 5b0ec235cb
commit 7e2769cfa5

View file

@ -121,7 +121,7 @@ function centerOnCoordinates() {
if (coordinates) {
[lat, lng] = coordinates;
zoom = map.getMaxZoom();
zoom = map.getMaxZoom() - 1;
}
map.setView([lat, lng], zoom);
}