RouteLineDynamicData

class RouteLineDynamicData

Provides 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

Types

Link copied to clipboard
class MutableRouteLineDynamicData

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

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