diff --git a/src/components/Map.vue b/src/components/Map.vue index 744a5e0..02a47d2 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -204,7 +204,7 @@ export default defineComponent({ location = newValue.center; } - if(typeof this.scheduledZoom === 'undefined') { + if(this.scheduledZoom == null) { if(typeof newValue.defaultZoom !== 'undefined') { this.scheduledZoom = newValue.defaultZoom; } else {