From 9f1104b34fb106535eabf5345d72c2ef8d059aab Mon Sep 17 00:00:00 2001 From: Legonzaur Date: Sun, 12 Jul 2026 10:12:34 +0200 Subject: [PATCH] add smooth zoom when not selecting a route --- app/components/map/map.client.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/map/map.client.vue b/app/components/map/map.client.vue index 93df332..0c564fd 100644 --- a/app/components/map/map.client.vue +++ b/app/components/map/map.client.vue @@ -52,6 +52,7 @@ watchEffect(async () => { }; const firstPoint = shownClusters.value.features[0]; if (!firstPoint) { + map.map?.flyTo({ center, zoom }); return; } const coordinates = [