Maximum number of alternative routes to calculate.
Alternative routes provide different options for traveling between the same origin and destination.
0
1-5
More alternatives increase computation time but provide more route options.
// Request up to 2 alternative routesconst maxAlternatives: MaxNumberOfAlternatives = 2; Copy
// Request up to 2 alternative routesconst maxAlternatives: MaxNumberOfAlternatives = 2;
0 Copy
Maximum number of alternative routes to calculate.
Alternative routes provide different options for traveling between the same origin and destination.