Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradient fills #748

Closed
edenh opened this issue Sep 18, 2014 · 5 comments
Closed

Gradient fills #748

edenh opened this issue Sep 18, 2014 · 5 comments

Comments

@edenh
Copy link
Contributor

edenh commented Sep 18, 2014

Would be nice to have linear gradient fills for fill and line types.

cc @samanpwbb

@samanpwbb
Copy link
Contributor

This would be useful for a lot of things, but my impractical dream is to be able to do this:
screen shot 2014-09-18 at 1 53 29 pm

Now for calculating gradient direction.... if you had a oneway value in your data you could do it :P

@wboykinm
Copy link

Not unprecedented, but it looks pretty damn hard.

@incanus
Copy link
Contributor

incanus commented Sep 18, 2014

This would be great for the oft-talked-about use case of running maps showing varying values in the path. It separates the library from the normal capabilities of just splitting a path into different-colored segments with hard color boundary edges.

@jfirebaugh
Copy link
Contributor

Actually drawing the gradient wouldn't be that hard. The hard part is that for the motorway link use case you want topology-dependent style properties: "gradient between the colors of the two lines to which this line connects."

@lucaswoj
Copy link
Contributor

Closed in favor of mapbox/mapbox-gl-style-spec#349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants