mapbox / mapbox/mapbox-gl-js

3D Building Support gradient-color

Open
#6,968 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature :green_apple:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

In 'fill-extrusion' layer,mapbox-gl-js only support 'fill-extrusion-color' for a single color,is there any way that we can render the 3d building like this:
![wx20180716-153024](https://user-images.githubusercontent.com/41282663/42747285-658584f0-890e-11e8-95e2-ff204a5d2f31.png)
Hope for you help!

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

The issue names the fill-extrusion layer and fill-extrusion-color property but no source file or test. Start by tracing fill-extrusion rendering and comparing it with the linked reference image; done would require an agreed gradient-color behavior and validation for it.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.