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
It's currently (as far as i can tell) not possible to define gradients based on values provided via geojson properties. This means all gradients of a layer are the same.
For example i've got a "Transmit Quality" value for two points (and many of them). I would like to draw a line between them and color it with a gradient according to the two values (for example red if the value is low, yellow if it's in the middle and green if it's high).
What i can do today is create a seperate layer for each possible gradient combination. But in my case that would mean creating hundreds of layers. Instead it would be nice to do some form of property lookup for the desired values and change the gradient within the layer.
The text was updated successfully, but these errors were encountered:
From my understanding line-progress is an quite essential part of displaying gradients (which are supported) but then the gradient in itself is hardcoded and identical for the whole layer.
Sorry, still not fully clear... Can you add a geojson example to showcase the input, with the current solution off multiple layers and the "wishfull" solution?
User Story
I would like to style lines based on data.
Rationale
It's currently (as far as i can tell) not possible to define gradients based on values provided via geojson properties. This means all gradients of a layer are the same.
For example i've got a "Transmit Quality" value for two points (and many of them). I would like to draw a line between them and color it with a gradient according to the two values (for example red if the value is low, yellow if it's in the middle and green if it's high).
What i can do today is create a seperate layer for each possible gradient combination. But in my case that would mean creating hundreds of layers. Instead it would be nice to do some form of property lookup for the desired values and change the gradient within the layer.
The text was updated successfully, but these errors were encountered: