lineCrossSlope

open override fun lineCrossSlope(lineCrossSlope: Double): LineLayer

Defines the slope of an elevated line. A value of 0 creates a horizontal line. A value of 1 creates a vertical line. Other values are currently not supported. If undefined, the line follows the terrain slope. This is an experimental property with some known issues: - Vertical lines don't support line caps - line-join: round is not supported with this property

Use static method LineLayer.defaultLineCrossSlope to set the default property.

Parameters

lineCrossSlope

value of lineCrossSlope


open override fun lineCrossSlope(lineCrossSlope: Expression): LineLayer

Defines the slope of an elevated line. A value of 0 creates a horizontal line. A value of 1 creates a vertical line. Other values are currently not supported. If undefined, the line follows the terrain slope. This is an experimental property with some known issues: - Vertical lines don't support line caps - line-join: round is not supported with this property

Use static method LineLayer.defaultLineCrossSlopeAsExpression to set the default property.

Parameters

lineCrossSlope

value of lineCrossSlope as Expression


Defines the slope of an elevated line. A value of 0 creates a horizontal line. A value of 1 creates a vertical line. Other values are currently not supported. If undefined, the line follows the terrain slope. This is an experimental property with some known issues: - Vertical lines don't support line caps - line-join: round is not supported with this property