Dynamically set the elevation of polygon area
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**: v2.6.1
### Question
I have loaded the terrain data, but I want to dynamically set the elevation of the polygon area. What should I do?
like this:

### Links to related documentation
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 reviewing the terrain and polygon-area APIs in the v2.6.1 documentation and examples. Determine whether dynamically assigning polygon elevation is supported, and identify the documented API or limitation that answers the question. Done means providing a verified usage path or clearly documenting that the capability is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100