Open ZachTRice opened 5 years ago
I wanted to check in and see if there was any chance the text-varible-anchor
would be supported i the future. I suspect this is a tricky issue due to it's relationship with declutter
. It's be a pretty awesome feature if it were added.
It appears that there is no support for an array of text-anchor via the text-variable-anchor mapbox style property. i.e.:
Current behavior:
Expected behavior (shown using
text-anchor: "left"
):text-anchor
is currently supported but it will only always offset in 1 direction whereastext-variable-anchor
, will try the first anchor direction in an array, then, if there is a collision, it will try the next anchor direction, and so on.