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

Builder
Link copied to clipboard
class Builder
A builder for instantiating the RouteLineResources class

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toBuilder
Link copied to clipboard
fun toBuilder(): RouteLineResources.Builder
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

val alternativeRouteCasingLineScaleExpression: Expression
an expression governing the behavior of alternative route casing line scaling
alternativeRouteLineScaleExpression
Link copied to clipboard
val alternativeRouteLineScaleExpression: Expression
an expression governing the behavior of alternative route line scaling
val alternativeRouteTrafficLineScaleExpression: Expression
an expression governing the behavior of alternative route traffic line scaling
destinationWaypointIcon
Link copied to clipboard
val destinationWaypointIcon: Int
an icon representing the destination point of a route
originWaypointIcon
Link copied to clipboard
val originWaypointIcon: Int
an icon representing the origin point of a route
restrictedRoadDashArray
Link copied to clipboard
val restrictedRoadDashArray: List<Double>
the dash array for the LineLayer used for displaying restricted roads
restrictedRoadLineWidth
Link copied to clipboard
val restrictedRoadLineWidth: Double
the width of the restricted road LineLayer
restrictedRoadOpacity
Link copied to clipboard
val restrictedRoadOpacity: Double
the opacity of the restricted road LineLayer
roundedLineCap
Link copied to clipboard
val roundedLineCap: Boolean
indicates if the endpoints of the route line have rounded line cap
routeCasingLineScaleExpression
Link copied to clipboard
val routeCasingLineScaleExpression: Expression
an expression governing the behavior of route casing line scaling
routeLineColorResources
Link copied to clipboard
val routeLineColorResources: RouteLineColorResources
routeLineScaleExpression
Link copied to clipboard
val routeLineScaleExpression: Expression
an expression governing the behavior of route line scaling
routeTrafficLineScaleExpression
Link copied to clipboard
val routeTrafficLineScaleExpression: Expression
an expression governing the behavior of route traffic line scaling
trafficBackfillRoadClasses
Link copied to clipboard
val trafficBackfillRoadClasses: List<String>
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