diff --git a/src/components/Map.vue b/src/components/Map.vue index 72130b4..50434ce 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -166,7 +166,8 @@ export default defineComponent({ } if(!oldValue) { - zoom = store.state.parsedUrl.zoom || store.state.configuration.defaultZoom; + zoom = typeof store.state.parsedUrl.zoom !== 'undefined' ? + store.state.parsedUrl.zoom : store.state.configuration.defaultZoom; } //Delay the pan by a frame, to allow the projection to be updated by the new world