RouteArrowOptions

Options for determining the appearance of maneuver arrow(s)

Parameters

arrowColor

the color of the arrow shaft

arrowCasingColor

the color of the arrow shaft border

arrowHeadIcon

the drawable to represent the arrow head

arrowHeadIconCasing

the drawable to represent the arrow head border

aboveLayerId

indicates the maneuver arrow map layers appear above this layer on the map

tolerance

the tolerance value used when configuring the underlying map source

arrowShaftScaleExpression

an Expression governing the scaling of the maneuver arrow shaft

arrowShaftCasingScaleExpression

an Expression governing the scaling of the maneuver arrow shaft casing

arrowHeadScaleExpression

an Expression governing the scaling of the maneuver arrow head

arrowHeadCasingScaleExpression

an Expression governing the scaling of the maneuver arrow head casing

slotName

determines the elevation of the route layers. The route line will default to the MIDDLE slot. To change, add your own custom slot before route arrow initialization and provide the slot name as a option here. see https://docs.mapbox.com/style-spec/reference/slots/ and StyleManager.getStyleSlots

fadeOnHighZoomsConfig

configuration of route arrows fading out (see FadingConfig for details). NOTE: route arrows disappear at zoom levels 14.0 or lower. Make sure zoom levels specified in FadingConfig are greater than 14.0. NOTE: this property guards fading out the arrows on transition from a lower to a higher zoom level, meaning that FadingConfig.startFadingZoom must be less than or equal to FadingConfig.finishFadingZoom.

Types

Link copied to clipboard
class Builder

Used for instantiating the RouteArrowOptions class.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val arrowHeadScaleExpression: Expression
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.