getLineGradientAsInt

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

Return

int representation of a rgba string color

Throws

thrown if property isn't a value