Skip to content

Assign color to layer using a function. #122

@hmendezm

Description

@hmendezm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions