ChargingOptions
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
Represents the electric vehicle options that provide charging information.
Parameters
minChargeAtDestination
The desired minimum battery charge level upon arrival at the destination.
minChargeAtChargingStops
The desired minimum battery charge level upon arrival at each charging station. However, the remaining charge at the first charging stop may be lower.
avoidChargingParks
Charging parks to avoid. This is a soft avoid, meaning a route with avoided parks is returned if no other route can be found.
chargingStopsStrategy
Specifies the charging stops strategy to be used by the Online Routing service.
Throws
if options are invalid, namely either:
minChargeAtChargingStops is negative
minChargeAtDestination is negative