detourOffset

fun detourOffset(detourOffset: Boolean): AlongRouteSearchOptions.Builder

Turns on calculation of the distance between the start of the route and the starting point of the detour to a POI.

Return

The builder of the AlongRouteSearchOptions.Builder with the provided detourOffset.