speedConsumption

val speedConsumption: Map<Speed, ElectricConsumption>

Parameters

speedConsumption

Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate in kWh pairs. Applicable only for electric engines.

Note: This option is not supported when chargingOptions are set in com.tomtom.sdk.routing.options.RoutePlanningOptions.