maxDetourTime

fun maxDetourTime(maxDetourTime: Duration): AlongRouteSearchOptions.Builder

The maximum detour time. The max value is 3600 seconds.

Return

An instance of the AlongRouteSearchOptions.Builder with the provided maxDetourTime.