Builder

class Builder

Builder for RerouteOptions.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun avoidManeuverSeconds(avoidManeuverSeconds: Int): RerouteOptions.Builder

Avoid maneuver second. A radius in seconds around reroute origin point where need to avoid any significant maneuvers. Unit is seconds.

Link copied to clipboard
fun build(): RerouteOptions

Build the RerouteOptions

Link copied to clipboard

Reroute strategy for routes generated by Mapbox Map Matching API. Default strategy is RerouteDisabled.