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

Negative minzoom fix #71

Merged
merged 9 commits into from
Apr 16, 2018
Merged

Conversation

cbutcosk
Copy link
Contributor

Persists the unmutated imageSizes array before the layer is added, restores the unmutated version on removal. Fixes an issue where maps with negative minZoom settings would not show a layer after it was added, removed, and then re-added to the map.

@cbutcosk
Copy link
Contributor Author

Sorry for the chatty commits--the tests had all passed on my end, but I apparently hit a weird Travis build issue.

Copy link
Owner

@mejackreed mejackreed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for finding the bug and providing a fix. Especially thanks for adding a test. ++

@mejackreed mejackreed merged commit 06f36d4 into mejackreed:master Apr 16, 2018
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.

2 participants