lineGradient

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

Return

property wrapper around String color

Parameters

value

a int color value


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

Return

property wrapper around String

Parameters

value

a String value


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

Return

property wrapper around an expression statement

Parameters

expression

an expression statement