sdk-search / / IAlongRouteSearchQuery / withDetourOffset


@NonNull abstract fun withDetourOffset(): IAlongRouteSearchQuery

Turns on the calculation of the distance between the start of the route and the starting point of the detour to a POI. When specified, the detourOffset is present in the response.

IAlongRouteSearchQuery: The builder of the query with the enabled detour offset calculation.