mapbox / mapbox/mapbox-gl-js

Support gradient-colored shapes

Open
#4,095 31 comments 20 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

_From @lucaswoj on August 21, 2015 19:8_

It would be useful to support gradient-colored lines, fills, and backgrounds. What would the stylesheet syntax look like? How would this work with data-driven styling?

ref https://github.com/mapbox/mapbox-gl-native/issues/2142

cc @webventil

![](https://cloud.githubusercontent.com/assets/1701915/9403260/b7a7eb82-47e5-11e5-84b6-7550d4c15edc.png)

_Copied from original issue: mapbox/mapbox-gl-style-spec#349_

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

Start with the issue description, its linked mapbox-gl-native issue #2142, and the attached example image. Investigate how gradient syntax and data-driven styling should work for lines, fills, and backgrounds; the issue names no files or tests, so completion criteria are not yet defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics, frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.