-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DynamicMapLayer clears old image when you move map #1124
Comments
it's near impossible to pan the map to exactly the same location. that said, I guess technically we could wait to remove the old image until after the next one is retrieved. the relevant code is here if anyone is interested: |
Maybe it is possible to make this layer extend from leaflet tileLayer and make it work in the same way as wms layer does? |
I don't think it would make sense to extend from Do you see the behavior you expect when working with any other type of non-tiled layer? |
WMS is a dynamic service type too. Leaflet likely just uses a grid to cache requests. https://github.com/Leaflet/Leaflet/blob/master/src/layer/tile/TileLayer.WMS.js I'd be interested in seeing a PR and evaluating the result for |
@jgravois @ogix was this fixed already, following the first non-tiling approach mentioned above?
The order of operations seems good to me now that I'm going back and stepping through |
nope. no work has been done here. |
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: #1124 (comment). |
All
L.version
):1.3.4
L.esri.VERSION
):2.2.3
Steps to reproduce the error:
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.
The text was updated successfully, but these errors were encountered: