Builder

class Builder

Builder of ManeuverViewOptions

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun build(): ManeuverViewOptions

Build a new instance of ManeuverViewOptions

Link copied to clipboard
fun laneGuidanceTurnIconManeuver(@StyleRes laneGuidanceTurnIconManeuver: Int): ManeuverViewOptions.Builder

Allows you to style the lane guidance turn icon colors.

Link copied to clipboard
fun maneuverBackgroundColor(@ColorRes maneuverBackgroundColor: Int): ManeuverViewOptions.Builder

Allows you to style the background color for main maneuver.

Link copied to clipboard
fun primaryManeuverOptions(primaryManeuverOptions: ManeuverPrimaryOptions): ManeuverViewOptions.Builder

Allows you to style MapboxPrimaryManeuver.

Link copied to clipboard
fun secondaryManeuverOptions(secondaryManeuverOptions: ManeuverSecondaryOptions): ManeuverViewOptions.Builder

Allows you to style MapboxSecondaryManeuver.

Link copied to clipboard
fun stepDistanceTextAppearance(@StyleRes stepDistanceTextAppearance: Int): ManeuverViewOptions.Builder

Allows you to style MapboxStepDistance.

Link copied to clipboard
fun subManeuverBackgroundColor(@ColorRes subManeuverBackgroundColor: Int): ManeuverViewOptions.Builder

Allows you to style the background color for sub maneuver.

Link copied to clipboard
fun subManeuverOptions(subManeuverOptions: ManeuverSubOptions): ManeuverViewOptions.Builder

Allows you to style MapboxSubManeuver.

Link copied to clipboard
fun turnIconManeuver(@StyleRes turnIconManeuver: Int): ManeuverViewOptions.Builder

Allows you to style the turn icon colors.

Link copied to clipboard
fun upcomingManeuverBackgroundColor(@ColorRes upcomingManeuverBackgroundColor: Int): ManeuverViewOptions.Builder

Allows you to style the background color for upcoming maneuvers.