You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm stuck with styling line-color. I want to achieve something like this below, but I don't know how to get color combining colorId and stops in case expression
'line-color': ['case',
['==', ['get', 'isOpen'], true], *use color based on property colorId and stops*, '#878787',
],
I believe what you looking for might be line gradients. Which generally achieve these stop-based rendering of colors on lines. But unfortunately, you're trying to get the color stops inferred from the data, and we currently do not support data driven line gradients.
I'll close as duplicate of #8977, but feel free to reopen if I misunderstood your use case.
Hi,
I'm stuck with styling
line-color
. I want to achieve something like this below, but I don't know how to get color combining colorId and stops in case expressionI've tried, but it didn't worked
The text was updated successfully, but these errors were encountered: