Skip to content
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

Fixed zombie overlay #47

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open

Conversation

almostcake
Copy link

Scenario: change map extent (position, zoom), overlay starts update, but image loading takes long time (service is busy or whatever). While it's loading, remove wms.overlay layer from map (for example, to hide it, as we do in our project), but "buffer" overlay is still on map, and when it is loaded, it becomes "zombie" one, which is nowhere referenced.
Sample image

AlexCortinas added a commit to AlexCortinas/leaflet.wms that referenced this pull request Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant