Builder

class Builder

Used for instantiating the RouteArrowOptions class.

Constructors

Builder
Link copied to clipboard
fun Builder(context: Context)
Used for instantiating the RouteArrowOptions class.

Functions

build
Link copied to clipboard
fun build(): RouteArrowOptions
Applies the supplied parameters and instantiates a RouteArrowOptions
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String
withAboveLayerId
Link copied to clipboard
fun withAboveLayerId(layerId: String): RouteArrowOptions.Builder
Indicates the maneuver arrow map layers appear above this layer on the map.
withArrowCasingColor
Link copied to clipboard
fun withArrowCasingColor(@ColorInt() color: Int): RouteArrowOptions.Builder
Indicates the color of the arrow shaft border.
withArrowColor
Link copied to clipboard
fun withArrowColor(@ColorInt() color: Int): RouteArrowOptions.Builder
Indicates the color of the arrow shaft.
withArrowheadCasingScalingExpression
Link copied to clipboard
fun withArrowheadCasingScalingExpression(expression: Expression): RouteArrowOptions.Builder
An expression that will define the scaling behavior of the maneuver arrow head casing.
withArrowHeadIconCasingDrawable
Link copied to clipboard
fun withArrowHeadIconCasingDrawable(@DrawableRes() drawable: Int): RouteArrowOptions.Builder
Indicates the drawable of the arrow head border.
withArrowHeadIconDrawable
Link copied to clipboard
fun withArrowHeadIconDrawable(@DrawableRes() drawable: Int): RouteArrowOptions.Builder
Indicates the drawable of the arrow head.
withArrowheadScalingExpression
Link copied to clipboard
fun withArrowheadScalingExpression(expression: Expression): RouteArrowOptions.Builder
An expression that will define the scaling behavior of the maneuver arrow head.
withArrowShaftCasingScalingExpression
Link copied to clipboard
fun withArrowShaftCasingScalingExpression(expression: Expression): RouteArrowOptions.Builder
An expression that will define the scaling behavior of the maneuver arrow shaft casing.
withArrowShaftScalingExpression
Link copied to clipboard
fun withArrowShaftScalingExpression(expression: Expression): RouteArrowOptions.Builder
An expression that will define the scaling behavior of the maneuver arrow shafts.
withTolerance
Link copied to clipboard
fun withTolerance(tolerance: Double): RouteArrowOptions.Builder
Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance) for the GeoJsonSources created to display the route line.