question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Partial Drawing of dynamicMapLayer in Safari

See original GitHub issue

Describe 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

image image

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:open
  • Created 3 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
samlanzzcommented, Oct 5, 2021

@lrpatterson I am working on creating one now.

0reactions
nicolaiwolkocommented, Dec 2, 2021

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

L.esri.DynamicMapLayer | Esri Leaflet - ArcGIS Developers
Used to refine draw order further (within a map pane). Legacy option to control draw order. For best results, use pane . Closest...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found