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] Account for character descenders in text-radial-offset #15366

Closed chloekraw closed 4 years ago

chloekraw commented 5 years ago

GL-Native version of https://github.com/mapbox/mapbox-gl-js/issues/8560

Like text-offset that accepts number or an array of two numbers that adjusts the x and y coordinates, it would be great if text-radial-offset allowed the same functionality. That would account for the extra distance top positioned labels need for characters with descenders (i.e g, p, q):

Screen Shot 2019-07-26 at 10 09 31 AM

cc @pozdnyakov @alexshalamov

stale[bot] commented 4 years ago

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.