correct setting of pixelRatio

This commit is contained in:
mike-000
2022-08-08 21:59:16 +01:00
parent 4953f63fd7
commit 8bbeb31cfb

View File

@@ -69,8 +69,8 @@ new Map({
view: new View({ view: new View({
center: [256 / 2, -256 / 2], center: [256 / 2, -256 / 2],
resolution: 1, resolution: 1,
devicePixelRatio: 2,
}), }),
pixelRatio: 2,
}); });
render(); render();