Stop the default multiWorld constraint being applied on Custom Animation example

For zoom: 1 to be reached the default extent constraint must be removed by adding multiWorld: true
This commit is contained in:
mike-000
2019-07-03 17:36:07 +01:00
committed by GitHub
parent 621a573dd8
commit 12d21689c6

View File

@@ -21,7 +21,8 @@ const map = new Map({
target: 'map',
view: new View({
center: [0, 0],
zoom: 1
zoom: 1,
multiWorld: true
})
});