EVRouteOptions
class EVRouteOptions(val vehicle: Vehicle, val routeOptim: RouteOptim = RouteOptim.FASTEST, val routeCriteria: List<RouteCriteria> = listOf(RouteCriteria.DEFAULT), var departure: Date? = Date(), val maxAlternativeRoutes: Int = 0, val useStopRoadSide: Boolean = false, val useStartAngle: Boolean = false, val avoidUTurn: Boolean = false, var withLiveTraffic: Boolean = false, val withStatisticalTraffic: Boolean = false, val rechargeParameters: RechargeParameters = RechargeParameters(), val fastComputation: Boolean = true) : RouteOptions
Class containing information about what parameters should be taken into account while computing optimized routes for electric vehicles
Constructors
Link copied to clipboard
constructor(vehicle: Vehicle, routeOptim: RouteOptim = RouteOptim.FASTEST, routeCriteria: List<RouteCriteria> = listOf(RouteCriteria.DEFAULT), departure: Date? = Date(), maxAlternativeRoutes: Int = 0, useStopRoadSide: Boolean = false, useStartAngle: Boolean = false, avoidUTurn: Boolean = false, withLiveTraffic: Boolean = false, withStatisticalTraffic: Boolean = false, rechargeParameters: RechargeParameters = RechargeParameters(), fastComputation: Boolean = true)
Properties
Link copied to clipboard
defines if u-turn restrictions should be avoided
Link copied to clipboard
With hybrid maps this option allows to optimize the route computation time when a lot of data needs to be downloaded. The computed route may not be optimal in this case (e.g. 2 minutes longer than the best solution).
Link copied to clipboard
maximum number of alternative routes to calculate in range 0,2
Link copied to clipboard
Link copied to clipboard
a list of RouteCriteria that should be used while computing the route
Link copied to clipboard
defines what should be prioritized when computing the route
Link copied to clipboard
defines if starting angle should be used
Link copied to clipboard
defines if stop waypoint road side should be used
Link copied to clipboard
Link copied to clipboard