fill-extrusion-height seems incorrect with terrain
Open
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
- Mapbox GL JS: version 2.8.2
Without terrain
[https://jsbin.com/kizurex/edit?js,output](https://jsbin.com/kizurex/edit?js,output)

With terrain
[https://jsbin.com/vibebum/edit?js,output](https://jsbin.com/vibebum/edit?js,output)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the two linked JSBin reproductions and compare the fill-extrusion behavior with and without terrain in Mapbox GL JS 2.8.2. Trace the terrain and fill-extrusion rendering paths to identify why the height differs, then verify that the extrusion renders correctly in both scenarios.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100