mapbox / mapbox/mapbox-gl-js

Elevate Symbols on fill-extrusion doesn't work with custom source

Open
#13,410 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :lady_beetle:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

my symbols will only be elevate on top on `fill-extrusion` layer when i use the mapbox source. When i use a custom vector-tile source (we are using postgis to create them) the labels are shown at ground level (style is the same). We are using this flag to activate it for symbols ` "symbol-z-elevate": true,`.
Does this function needs some specific requirements for the source? For example the ordering of coordinates?

**mapbox-gl-js version**: 3.9.4

**browser**: Version 133.0.6943.55 (Offizieller Build) (arm64)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by comparing the Mapbox source with the custom vector-tile source in mapbox-gl-js 3.9.4, focusing on symbol-z-elevate and fill-extrusion behavior. Done means determining whether custom sources require specific data or configuration for labels to elevate, and documenting or fixing the observed difference.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.