diff --git a/src/components/Map.vue b/src/components/Map.vue index bc74844..fae097e 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -198,9 +198,7 @@ export default defineComponent({ location = newValue.center; } - if(!oldValue) { - this.scheduledZoom = this.scheduledZoom || store.state.configuration.defaultZoom; - } + this.scheduledZoom = this.scheduledZoom || store.state.configuration.defaultZoom; //Set pan location for when the projection changes this.scheduledPan = location;