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

minzoom property of layer only takes int (decimal just rounds up) #5006

Closed
ralphking opened this issue Jul 20, 2017 · 1 comment
Closed

minzoom property of layer only takes int (decimal just rounds up) #5006

ralphking opened this issue Jul 20, 2017 · 1 comment

Comments

@ralphking
Copy link

Steps to Trigger Behavior

Create a layer, set min zoom property to 12.5, max zoom to 20, add to the map

Expected Behavior

The layer disappears when zoom gets below 12.5

Actual Behavior

The layer disappears at 13 (12.5 has rounded up). This seems to happen for any decimal.

Is this expected?

@jfirebaugh
Copy link
Contributor

Duplicate of #2929.

@jfirebaugh jfirebaugh marked this as a duplicate of #2929 Jul 20, 2017
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

No branches or pull requests

2 participants