Zoom out map a little bit in node preview.
This commit is contained in:
parent
5b0ec235cb
commit
7e2769cfa5
|
@ -121,7 +121,7 @@ function centerOnCoordinates() {
|
|||
|
||||
if (coordinates) {
|
||||
[lat, lng] = coordinates;
|
||||
zoom = map.getMaxZoom();
|
||||
zoom = map.getMaxZoom() - 1;
|
||||
}
|
||||
map.setView([lat, lng], zoom);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue