You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 min_size, which I guess is pixels. Personally I find this unit a bit difficult to visualize and prefer a ratio more akin to that of min_tile_cover_size.
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: