MutableRouteLineDynamicData

class MutableRouteLineDynamicData

Provides a mutable representation of information needed to draw a route.

Parameters

baseExpressionProvider

expression used to style the base of the line

casingExpressionProvider

expression used to style the case of the line

trafficExpressionProvider

expression used to style the congestion colors on the line

restrictedSectionExpressionProvider

expression used to style the restricted sections on the line

trimOffset

a value representing the section of the line that should be trimmed and made transparent. Null by default

trailExpressionProvider

expression used to style the trail layer

trailCasingExpressionProvider

expression used to style the trail casing layer

Functions

Link copied to clipboard
fun toImmutableValue(): RouteLineDynamicData

Properties

Link copied to clipboard
var baseExpressionProvider: RouteLineExpressionProvider
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var trailCasingExpressionProvider: RouteLineExpressionProvider? = null
Link copied to clipboard
var trailExpressionProvider: RouteLineExpressionProvider? = null
Link copied to clipboard
var trimOffset: RouteLineTrimOffset? = null