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

RasterLayer shouldnt remove non-existent images outside constrained zoom levels #903

Merged
merged 1 commit into from
Dec 29, 2016

Conversation

jgravois
Copy link
Contributor

in e8a395d @greenkarmic pointed out that a console error is encountered when a RasterLayer is added to a map whose current zoom level is outside the min/maxZoom defined for the layer.

this patch ensures that we check for the existence of a previous image before we attempt to remove it.

@jgravois jgravois merged commit 68c1d0a into Esri:master Dec 29, 2016
@jgravois jgravois deleted the patch branch November 29, 2017 21:24
jgravois added a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
RasterLayer shouldnt remove non-existent images outside constrained zoom levels
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