lineTrimOffset

abstract fun lineTrimOffset(lineTrimOffset: List<Double> = listOf(0.0, 0.0)): LineLayer

The line part between trim-start, trim-end will be marked as transparent to make a route vanishing effect. The line trim-off offset is based on the whole line range 0.0, 1.0. Default value: 0,0. Minimum value: 0,0. Maximum value: 1,1.

Parameters

lineTrimOffset

value of lineTrimOffset


abstract fun lineTrimOffset(lineTrimOffset: Expression): LineLayer

The line part between trim-start, trim-end will be marked as transparent to make a route vanishing effect. The line trim-off offset is based on the whole line range 0.0, 1.0. Default value: 0,0. Minimum value: 0,0. Maximum value: 1,1.

Parameters

lineTrimOffset

value of lineTrimOffset as Expression