limit

fun limit(limit: Int): AlongRouteSearchOptions.Builder

The maximum number of search results that will be returned.

Return

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