Merge pull request #9368 from ahocevar/multiworld

Show only one world
This commit is contained in:
Andreas Hocevar
2019-03-26 14:17:21 +01:00
committed by GitHub
6 changed files with 97 additions and 46 deletions

View File

@@ -20,7 +20,8 @@ const map = new Map({
view: new View({
projection: 'EPSG:4326',
center: [0, 0],
resolution: 1
resolution: 1,
multiWorld: true
})
});
map.getView().setCenter([10, 10]);