add smooth zoom when not selecting a route
This commit is contained in:
@@ -52,6 +52,7 @@ watchEffect(async () => {
|
||||
};
|
||||
const firstPoint = shownClusters.value.features[0];
|
||||
if (!firstPoint) {
|
||||
map.map?.flyTo({ center, zoom });
|
||||
return;
|
||||
}
|
||||
const coordinates = [
|
||||
|
||||
Reference in New Issue
Block a user