correct setting of pixelRatio
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user