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.

DynamicMapLayer clears old image when you move map

See original GitHub issue
  • Browser and version:

All

  • Version of Leaflet (L.version):

1.3.4

  • Version of esri Leaflet (L.esri.VERSION):

2.2.3

Steps to reproduce the error:

  1. Create a dynamicMapLayer
  2. Wait until layer is loaded
  3. Move map outside of layer bounds
  4. Return map to same position again

What happens is the loaded layer image gone. You have to wait again until image is loaded.

I was expecting the layer image to stay in the same way as with WMS layer.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ogixcommented, Sep 4, 2018

Maybe it is possible to make this layer extend from leaflet tileLayer and make it work in the same way as wms layer does?

0reactions
jwasilgeocommented, Oct 3, 2019

Alright, we’ve confirmed that the DynamicMapLayer does function as expected by design now, and will leave this open as a potential enhancement with the idea suggested here: https://github.com/Esri/esri-leaflet/issues/1124#issuecomment-418622194.

Read more comments on GitHub >

github_iconTop Results From Across the Web

L.esri.DynamicMapLayer | Esri Leaflet - ArcGIS Developers
Map Services are used when its preferable to ask the server to draw layers and pass back the image which was generated on...
Read more >
How to switch layers[] in esri leaflet dynamiclayer
I have a single MapService with multiple layers. I'd like to utilize layer group for changing layers with radio buttons, but want to...
Read more >
Change of Scenery | State of Decay 2 Wiki - Fandom
While playing Campaign there are some actions which will relocate your Home Site, change/reset your Map, or both. Moving is the most common...
Read more >
esri-leaflet | Yarn - Package Manager
... of the most popular ArcGIS Service types. This includes Esri basemaps and feature services, as well as tiled map, dynamic map and...
Read more >
L.esri.Layers.DynamicMapLayer | Esri Leaflet - UNPKG
Map Services are a way to expose the contents of a map as a web service and expose capabilities for exporting tile images,...
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