RouteLineResources

class RouteLineResources

Contains colors an other values used to determine the appearance of the route line.

Parameters

routeLineColorResources
roundedLineCap

indicates if the endpoints of the route line have rounded line cap

originWaypointIcon

an icon representing the origin point of a route

destinationWaypointIcon

an icon representing the destination point of a route

trafficBackfillRoadClasses

for map styles that have been configured to substitute the low traffic congestion color for unknown traffic conditions for specified road classes, the same road classes can be specified here to make the same substitution on the route line

routeLineScaleExpression

an expression governing the behavior of route line scaling

routeCasingLineScaleExpression

an expression governing the behavior of route casing line scaling

routeTrafficLineScaleExpression

an expression governing the behavior of route traffic line scaling

alternativeRouteLineScaleExpression

an expression governing the behavior of alternative route line scaling

alternativeRouteCasingLineScaleExpression

an expression governing the behavior of alternative route casing line scaling

alternativeRouteTrafficLineScaleExpression

an expression governing the behavior of alternative route traffic line scaling

restrictedRoadDashArray

the dash array for the LineLayer used for displaying restricted roads

restrictedRoadOpacity

the opacity of the restricted road LineLayer

restrictedRoadLineWidth

the width of the restricted road LineLayer

Types

Link copied to clipboard
class Builder

A builder for instantiating the RouteLineResources class

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
fun toBuilder(): RouteLineResources.Builder
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

val alternativeRouteCasingLineScaleExpression: Expression
Link copied to clipboard
val alternativeRouteLineScaleExpression: Expression
val alternativeRouteTrafficLineScaleExpression: Expression
Link copied to clipboard
val destinationWaypointIcon: Int
Link copied to clipboard
val originWaypointIcon: Int
Link copied to clipboard
val restrictedRoadDashArray: List<Double>
Link copied to clipboard
val restrictedRoadLineWidth: Double
Link copied to clipboard
val restrictedRoadOpacity: Double
Link copied to clipboard
val roundedLineCap: Boolean
Link copied to clipboard
val routeCasingLineScaleExpression: Expression
Link copied to clipboard
val routeLineColorResources: RouteLineColorResources
Link copied to clipboard
val routeLineScaleExpression: Expression
Link copied to clipboard
val routeTrafficLineScaleExpression: Expression
Link copied to clipboard
val trafficBackfillRoadClasses: List<String>