systemed / tilemaker

Make OpenStreetMap vector tiles without the stack
https://tilemaker.org/
Other
1.5k stars 232 forks source link

Add per-layer ability to disable multipoints #771

Closed systemed closed 1 month ago

systemed commented 1 month ago

In #725 we added automatic combining of point geometries to create multipoints. 99% of the time this is what you want and it makes tiles smaller.

But the 1% of cases is where you're doing something interactive and you actually want a point geometry back - e.g. when you're using queryRenderedFeatures (or the Native equivalent) to find the exact point that the user has clicked.

This PR adds the ability to disable multipoint combining per-layer by setting "combine_points": false. Default behaviour is unchanged.