Partial Drawing of dynamicMapLayer in Safari
See original GitHub issueDescribe the bug
I have a list of layers that users can turn on and off at will, a user is reporting that they are only ever able to see half of a certain layer drawing when turned on. This is the layer in question: https://location.cabarruscounty.us/arcgisservices/rest/services/DataExplorerDatasets/MapServer/1.
When the user pans or zooms half of the screen updates while the other half remains undrawn. I have map.invalidateSize
setup to refresh when user resizes the screen and what not but seems that the drawing issue persists and only does so in Safari version 13.1. All other browsers seem to be fine as I cannot reproduce the issue
Screenshots
Environment Information
-
Version of Leaflet (
L.version
): 1.6.0 -
Version of Esri Leaflet (
L.esri.VERSION
): 2.4.1 -
Browser and Version: Safari 13.1
Additional context
Also be aware that the layer in question is an annotation layer.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (3 by maintainers)
Top GitHub Comments
@lrpatterson I am working on creating one now.
The bug is related to a (not so well known) problem of safari when decoding images too often in main thread. See PR: https://github.com/Esri/esri-leaflet/pull/1302