RouteLineExpressionData

data class RouteLineExpressionData(    val offset: Double,     @ColorInt val segmentColor: Int,     val legIndex: Int)

Contains data related to a route distance traveled and a traffic congestion color.

Parameters

offset

a distance offset value

segmentColor

a color for a segment of a route line

legIndex

the route leg index for this data

Constructors

Link copied to clipboard
fun RouteLineExpressionData(    offset: Double,     @ColorInt segmentColor: Int,     legIndex: Int)

Properties

Link copied to clipboard
val legIndex: Int
Link copied to clipboard
val offset: Double
Link copied to clipboard
val segmentColor: Int