esri-leaflet icon indicating copy to clipboard operation
esri-leaflet copied to clipboard

Disregard stale DynamicMapLayer updates

Open davetapley opened this issue 3 years ago • 2 comments

Alleviates #749 by not updating layer with image for a set of params which have changed while request was in flight.

This isn't the most elegant solution; I'm very open to feedback 😁

davetapley avatar Feb 11 '21 23:02 davetapley

Hi @davetapley, thank you for offering this change, we appreciate it! 👍

As a holistic, longer-term update, I'd like to see esri-leaflet's requests mechanisms be updated to support network requests that can be aborted/canceled, as folks have mentioned in #749. It is on our radar to evaluate and consider that more closely, as it would be a bit of an update that would likely lead to a major version release.

I think for now we'll leave your proposed change parked here while we figure out next steps.

jwasilgeo avatar Feb 23 '21 15:02 jwasilgeo

Hello @jwasilgeo, We're having the same issue in our application. I hope the solution is progressing. It will be very important!

AStasyK avatar Aug 10 '23 11:08 AStasyK