AlternativeRoutesOptions
Specifies options related to alternative routes.
Parameters
Maximum number of alternative routes to generate in addition to the primary route.
Whether to find only better routes or any alternative to a given reference route. Can only be used with route reconstructions.
Follow the reference route for at least this travel time before deviating. Can only be used with route reconstructions.
Deprecated
This will be removed 6 months after the next release.
Replace with
AlternativeRoutesOptions(maxAlternatives, alternativeType, minDeviationTime)Specifies options related to alternative routes.
Parameters
Maximum number of alternative routes to generate in addition to the primary route.
Whether to find only better routes or any alternative to a given reference route. Can only be used with route reconstructions.
Follow the reference route for at least this distance before deviating. Can only be used with route reconstructions.
Follow the reference route for at least this travel time before deviating. Can only be used with route reconstructions.