Reset zoom level when switching worlds

This commit is contained in:
James Lyne 2021-09-07 23:20:35 +01:00
parent ba02a2148f
commit aca007ee94

View File

@ -198,9 +198,7 @@ export default defineComponent({
location = newValue.center;
}
if(!oldValue) {
this.scheduledZoom = this.scheduledZoom || store.state.configuration.defaultZoom;
}
//Set pan location for when the projection changes
this.scheduledPan = location;