planetiler icon indicating copy to clipboard operation
planetiler copied to clipboard

Add `max_size` restriction for custom schemas [FEATURE]

Open quincylvania opened this issue 6 months ago • 3 comments

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):

Screenshot 2024-07-29 at 7 17 04 PM

However, once we get zoomed in far enough it doesn't make sense to show a central point marker anymore (example at z18):

Screenshot 2024-07-29 at 7 17 18 PM

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.

quincylvania avatar Jul 29 '24 23:07 quincylvania