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

issue #3995 fixed check for maxZoom option to honor maxZoom 0 #3996

Merged
merged 1 commit into from
Nov 10, 2015

Conversation

simsibimsiwimsi
Copy link
Contributor

Checking if maxZoom is a number will work fine for {maxZoom: 0} where
options.maxZoom evaluates to false.

Checking if maxZoom is a number will work fine for {maxZoom: 0} where
options.maxZoom evaluates to false.
@simsibimsiwimsi
Copy link
Contributor Author

Hi there, I have the same fix ready for the master branch. If this one is okay I'd be happy to create a pull request for the master branch as well. I'm contributing here for the first time and not too familiar with GitHub and the rules here, yet. Just let me know in case I did something wrong :-)

IvanSanchez added a commit that referenced this pull request Nov 10, 2015
issue #3995 fixed check for maxZoom option to honor maxZoom 0
@IvanSanchez IvanSanchez merged commit d9778d3 into Leaflet:stable Nov 10, 2015
@simsibimsiwimsi simsibimsiwimsi deleted the stable branch November 10, 2015 10:25
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.

3 participants