You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
When a symbol layer uses text-variable-anchor but the underlying data has a sizeable buffer value, I would expect it to be rendered even when it crosses a tile boundary. However, when text-variable-anchor is render treats it as if it also had avoid-edges=true set (which it does not). This results in important poi icons disappearing if they cross a tile boundary.
Steps to trigger behavior
Create a style that uses text-variable-anchor for a symbol layer
Render style in "tile" mode
Note the absence of the icon & text label (compared to any other rendering mode)
Expected behavior
When the tiles are rendered client-side:
Actual behavior
When the tiles are rendered server-side using Tile mode:
cc/ @mapbox/gl-core @mapbox/static-apis
The text was updated successfully, but these errors were encountered:
@riastrad this behavior was intentionally added in #15828, under the premise that "unpredictable labels" should have avoid edges automatically enabled, and a label that can be placed in multiple positions qualifies as an "unpredictable label." Is the suggested fix to resolve this ticket to revert #15828?
Platform: Node.js
Mapbox SDK version: v5.0.2
When a symbol layer uses
text-variable-anchor
but the underlying data has a sizeable buffer value, I would expect it to be rendered even when it crosses a tile boundary. However, whentext-variable-anchor
is render treats it as if it also hadavoid-edges=true
set (which it does not). This results in important poi icons disappearing if they cross a tile boundary.Steps to trigger behavior
text-variable-anchor
for a symbol layerExpected behavior
When the tiles are rendered client-side:
Actual behavior
When the tiles are rendered server-side using Tile mode:
cc/ @mapbox/gl-core @mapbox/static-apis
The text was updated successfully, but these errors were encountered: