sdk-routing / com.tomtom.online.sdk.routing.data / IRouteQuery / withConstantSpeedConsumptionInLitersPerHundredKm

withConstantSpeedConsumptionInLitersPerHundredKm

@NonNull abstract fun withConstantSpeedConsumptionInLitersPerHundredKm(speedToConsumptionMap: SpeedToConsumptionMap!): IRouteQuery

Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate in liters and in pairs.

Parameters

speedToConsumptionMap - SpeedToConsumptionMap!:

Return
IRouteQuery: The route query.