alternativeType
fun alternativeType(alternativeType: AlternativeType): RoutingOptions.Builder
Content copied to clipboard
When maxAlternatives is greater than 0, allows to specify the objective of computing alternative routes: finding routes that are significantly different than the reference route, or finding routes that are better than the reference route.
Important: This is a Public Preview API. It may be changed or removed at any time.