add smooth zoom when not selecting a route

This commit is contained in:
2026-07-12 10:12:34 +02:00
parent 0ec0f681b2
commit 9f1104b34f
+1
View File
@@ -52,6 +52,7 @@ watchEffect(async () => {
}; };
const firstPoint = shownClusters.value.features[0]; const firstPoint = shownClusters.value.features[0];
if (!firstPoint) { if (!firstPoint) {
map.map?.flyTo({ center, zoom });
return; return;
} }
const coordinates = [ const coordinates = [