Fix view resolutions

This commit is contained in:
mike-000
2021-08-31 11:27:18 +01:00
committed by GitHub
parent 7bb5211fc0
commit 167d852e02

View File

@@ -92,7 +92,7 @@ const map = new Map({
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
resolutions: createXYZ({tileSize: 512}).getResolutions89, resolutions: createXYZ({tileSize: 512}).getResolutions(),
center: [0, 0], center: [0, 0],
zoom: 2, zoom: 2,
}), }),