lineGradient

open override fun lineGradient(lineGradient: Expression): LineLayer

Set the LineGradient property

Parameters

lineGradient

value of lineGradient

val lineGradient: Expression?

Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify "lineMetrics": true.