mapbox-gl-js
mapbox-gl-js copied to clipboard
`symbol-z-elevate` does not work when `text-pitch-alignment` is `map`
mapbox-gl-js version: 5.3.0-beta.1
browser: Chrome
Steps to Trigger Behavior
- Add a
fill-extrusionlayer - Add a
symbollayer on top - Set
symbol-z-elevatetotrueon thesymbollayer - Set
text-pitch-alignmenttomapon thesymbollayer - Observe symbols stay clamped to the ground even when on top of fill extrusions.
Link to Demonstration
I'll provide a demonstration if needed for reproduction.
Expected Behavior
Symbols are draped onto the top side of fill extrusions.
Actual Behavior
Symbols are draped onto the map's ground level.
Hi @brncsk,
Thank you for opening this ticket. Could you please provide a minimal reproduction of the issue? We recommend using https://jsbin.com/. Thanks!
@stepankuzmin Yeah, there you go: https://output.jsbin.com/yeriwagaxi