Prevent zooming when selecting saved places

This commit is contained in:
2026-03-11 18:16:24 +04:00
parent 066ddb240d
commit 7e94f335ac
3 changed files with 19 additions and 3 deletions

View File

@@ -72,7 +72,9 @@ export default class PlaceRoute extends Route {
// Notify the Map UI to show the pin
if (model) {
this.mapUi.selectPlace(model);
const options = { preventZoom: this.mapUi.preventNextZoom };
this.mapUi.selectPlace(model, options);
this.mapUi.preventNextZoom = false;
}
// Stop the pulse animation if it was running (e.g. redirected from search)
this.mapUi.stopSearch();