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:
- Create a dynamicMapLayer
- Wait until layer is loaded
- Move map outside of layer bounds
- 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:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe it is possible to make this layer extend from leaflet tileLayer and make it work in the same way as wms layer does?
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.