From 7e2769cfa5aff609249cee03bc773a10f8e5bb41 Mon Sep 17 00:00:00 2001 From: baldo Date: Fri, 26 Aug 2022 18:13:05 +0200 Subject: [PATCH] Zoom out map a little bit in node preview. --- frontend/src/components/NodeMap.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/NodeMap.vue b/frontend/src/components/NodeMap.vue index ec5a64c..7483291 100644 --- a/frontend/src/components/NodeMap.vue +++ b/frontend/src/components/NodeMap.vue @@ -121,7 +121,7 @@ function centerOnCoordinates() { if (coordinates) { [lat, lng] = coordinates; - zoom = map.getMaxZoom(); + zoom = map.getMaxZoom() - 1; } map.setView([lat, lng], zoom); }