computeRoute
Computes a route asynchronously with the given routePlan To find alternative routes, specify the maximum number of alternative routes to compute in the RoutePlan.routeOptions Supported RouteOptim modes: RouteOptim.SHORTEST and RouteOptim.FASTEST is only supported in computeRouteWithChargeStops.
Parameters
routePlan
that contains info for the route computation and RouteOptions
listener
callback for getting computation's progress and result
Throws
when caught ComputeRouteListener.onComputeError is called with a Error.code corresponding to the PlannerException.code and a Error.detailedMessage corresponding to the PlannerException.message