avoidManeuverSeconds

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.

Default value is 8.

Note: value is mapped to meters at a re-route moment (based on speed), if meters result is more than 1000, it's restricted to 1000 meters.

See also

com.mapbox.api.directions.v5.models.RouteOptions

Throws

if provided value is less than 0