Limit on number of alternate routes?

2 posts / 0 new
Last post
schaeferleighc
Limit on number of alternate routes?

Hello,

I can't find documentation on the details of how alternate routes responses are chosen. For example is there an invisible limit on accepted values of `maxRoutes` and `timeOverage`? Using the example here https://developer.mapquest.com/documentation/samples/directions/v2/alternateroutes/ I always get 3 alternate routes regardless of arbitrarily large vaues I set for `maxRoutes` and `timeOverage` (for example 5000 and 1000 respectively), when in principle this should increase much more. Thanks in advance.


MQBrianCoakley
The maxRoutes maximum value
The maxRoutes maximum value is 5 but you'll rarely, if ever, get 5 routes. It is generally limited to 3 alternate routes.