maxAlternatives

fun maxAlternatives(maxAlternatives: Int): RoutingOptions.Builder

Specifies the maximum number of route alternatives to be calculated by the service.

Important: This is a Public Preview API. It may be changed or removed at any time.