-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add max_size
restriction for custom schemas [FEATURE]
#965
Comments
Interesting, this isn't a capability in the java API either - profiles just set a max zoom. So you would set max size to some number of "square pixels" or "square tiles"? |
@msbarry The unit should probably match that of |
I'm realizing this is less useful than expected since we only render tiles up to z14. |
With #979 we can now filter these client side. Filtering during render may still be useful to reduce tile size, but it's very low priority for us. Feel free to close this as wontfix if you don't see anyone else needing this feature. |
We're using
min_size
over at OpenTrailMap to progressively show POIs for notable parks at the given zoom level. This works great when the park is contained in the viewport (example at z4):However, once we get zoomed in far enough it doesn't make sense to show a central point marker anymore (example at z18):
We could probably filter these out in MapLibre but the more efficient solution would be to exclude them from the tiles with a parameter like
max_size
.The text was updated successfully, but these errors were encountered: