Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
4.34k
stars
1.33k
forks
source link
Using `text-variable-anchor` removes label #16642
Open
pbnsilva opened 2 years ago
Platform: node Mapbox SDK version:
5.0.2
I understand this is for a platform that is no longer supported, but I suspect this may be something simple that I am missing.
Steps to trigger behavior
text-variable-anchor
(['center', 'top', 'bottom', 'left', 'right']) .Expected behavior
Expect that
text-variable-anchor
has no effect if there's enough space to render the labels. So the labels are rendered.Actual behavior
Using this style. Without
text-variable-anchor
the label gets rendered (top). With it, it does not (bottom). See the labelSan Francisco
(code):Code