MapboxRouteCalloutViewOptions

Options for configuration appearance of route callouts.

Parameters

backgroundColor

to style the background color of route callout

selectedBackgroundColor

to style the background color of route callout attaching to the primary route in RouteCalloutType.RouteDurations state

textColor

to style the text color of route callout

selectedTextColor

to style the text color of route callout attaching to the primary route in RouteCalloutType.RouteDurations state

fasterTextColor

to style the text color of route callout attaching to alternative route which duration is faster in comparison with the primary one in RouteCalloutType.RelativeDurationsOnAlternative state

slowerTextColor

to style the text color of route callout attaching to alternative route which duration is slower in comparison with the primary one in RouteCalloutType.RelativeDurationsOnAlternative state

durationTextAppearance

to style the text appearance of route callout. Note that textColor parameter will be overridden by other parameters from MapboxRouteCalloutViewOptions

Types

Link copied to clipboard
class Builder

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

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

Get a builder to customize a subset of current options.

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

Returns a string representation of the object.