ESRI JS API 4.4: layer maxscale and minscale not respected when browser zoom is not 100%

357
1
09-20-2017 05:18 AM
janjermei
New Contributor III

We have a web application using JS API 4.4.

We have added a mapimage layer that contains layers that are visible at all scales.

This functions correctly, but when we change the zoom of the browser (Internet Explorer or Chrome) to a value different from 100%, the layer is no longer displayed at all scales: in some scale intervals the layer does not show up anymore.

As far as we have investigated, the request from the web application to ArcGIS Server is different for different browser zooms: e.g. the DPI parameter changes, which gives inconsistent response results

http://geoqua01/arcgis/rest/services/Fluxys_asset_infrastructure/MapServer/export?bbox=181363.234626...

=> this returns a correct image

http://geoqua01/arcgis/rest/services/Fluxys_asset_infrastructure/MapServer/export?bbox=181363.234626...

=> this returns an image where some of the layers are not visible

Has anyone experienced this in their applications?

Many thanks in advance

Tags (1)
0 Kudos
1 Reply
janjermei
New Contributor III

Update: Apparently the problem exists for layers that have a maxscale/minscale property.

The situation is comparable to http://resources.esri.com/help/9.3/arcgisserver/adf/dotnet/apiref_06/ESRI.ArcGIS.ADF.IMS.Carto.Image...

=> how does the property scale of MapView take into account DPI of the device?

0 Kudos