From 0558227ce693050edf0f9f26104ca56e982be63d Mon Sep 17 00:00:00 2001 From: MarcoJayUsai Date: Fri, 28 Mar 2025 19:16:09 +0100 Subject: [PATCH] refactor(drawings): reduced the zoom of the go to drawing feature --- frontend/react/src/ui/panels/drawingmenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/react/src/ui/panels/drawingmenu.tsx b/frontend/react/src/ui/panels/drawingmenu.tsx index bfd5bee3..6433a136 100644 --- a/frontend/react/src/ui/panels/drawingmenu.tsx +++ b/frontend/react/src/ui/panels/drawingmenu.tsx @@ -170,7 +170,7 @@ export function DrawingMenu(props: { open: boolean; onClose: () => void }) { onClick={() => { const latLng = drawing.getLayer()["getLatLng"] && drawing.getLayer()["getLatLng"](); const bounds = drawing.getLayer()["getBounds"] && drawing.getLayer()["getBounds"](); - latLng && getApp().getMap().setView(latLng, 14); + latLng && getApp().getMap().setView(latLng, 10); bounds && getApp().getMap().fitBounds(bounds); }} />