mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL

Home Page:https://docs.mapbox.com/mapbox-gl-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`symbol-z-elevate` does not work when `text-pitch-alignment` is `map`

brncsk opened this issue · comments

mapbox-gl-js version: 5.3.0-beta.1

browser: Chrome

Steps to Trigger Behavior

  1. Add a fill-extrusion layer
  2. Add a symbol layer on top
  3. Set symbol-z-elevate to true on the symbol layer
  4. Set text-pitch-alignment to map on the symbol layer
  5. Observe symbols stay clamped to the ground even when on top of fill extrusions.
image

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.