line Gradient
Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify "lineMetrics": true
.
Use static method LineLayer.defaultLineGradient to set the default property.
Parameters
line Gradient
value of lineGradient
Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify "lineMetrics": true
.