mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.37k stars 1.33k forks source link

[core][tile mode] Reduce cut-off labels #16336

Closed pozdnyakov closed 4 years ago

pozdnyakov commented 4 years ago

Place tile intersecting labels first, across all the layers. Thus, we reduce the amount of label cut-offs in Tile mode.

Before, labels were arranged within one symbol layer (one bucket), which was not enough for several symbol layers being placed at the same time.

Partial fix for https://github.com/mapbox/mapbox-gl-native-team/issues/223