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

Assign color to layer using a function. #122

Open
hmendezm opened this issue Jun 27, 2019 · 0 comments
Open

Assign color to layer using a function. #122

hmendezm opened this issue Jun 27, 2019 · 0 comments

Comments

@hmendezm
Copy link

Hi Guys,
is it a way to use a function instead of values in the stops:[]? In my case, the colors are not defined prior so there is a function that calculates them. How I can call a function with the value of the property. This function returns the color (string)
best
Hank

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

No branches or pull requests

1 participant