Blurry map JavaScript Api

374
2
07-30-2019 05:18 AM
JanJeske2
New Contributor II

We have trouble displaying the Map with a scaled display.

1440p at 100% display scale

Display 1440p at 100% scale

1440p at 125% display scale

Display 1440p at 125% scale

To reproduce set the display scale on one display to 125% and on a second to 100%, compare the result (for example: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=intro-mapview).On the second display the map is blurry.

If the scale of the browser is changed to 75% on the scaled monitor the map looks good. I think the scaling of the map canvas fail.

Tested with Api >=4.6 and >=3.06

I have tried to scale the canvas by the “window.devicePixelRatio”, but it gets overwritten immediately.

Any suggestions?

0 Kudos
2 Replies
AllanBeihl
New Contributor II
0 Kudos
JanJeske2
New Contributor II

Yes with vectors the map is displayed fine. But we have Layers (Imagery/official maps with annotations) wich cannot be displayed as vector Layer (yet)

0 Kudos