compute Route With Alternatives
fun computeRouteWithAlternatives( primaryRouteRequest: PrimaryRouteRequest, alternatives: List<AlternativeRouteRequest>? = null, listener: RouteComputeFinishedListener, executor: Executor? = null): Router.Task
Content copied to clipboard
This method will compute primary route with alternatives, if possible.
You will receive listener signals for each alternatives. Some may get RouteComputeStatus.AlternativeRejected error.
Parameters
primary Route Request
alternatives
List optional list with wanted alternatives
executor
Executor which will execute listener's callbacks