Reset zoom level when switching worlds
This commit is contained in:
parent
ba02a2148f
commit
aca007ee94
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user