CombustionEngine
public struct CombustionEngine
A combustion vehicle engine for route planning and consumption estimation.
Describes parameters used to determine the vehicle power and consumption.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public let consumption: Consumption?
Describes parameters used to determine the vehicle power and consumption.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public struct Consumption
Current amount of fuel, for example in liters.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public let currentFuel: Measurement<UnitVolume>?
Specifies the efficiency of the engine.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public let efficiency: Efficiency?
Specifies the efficiency of the vehicle.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public struct Efficiency
Creates an instance of CombustionEngine
.
Note
The parameters consumption, efficiency and currentFuel are not supported whenchargingOptions
are set in RoutePlanningOptions
.
Note
The parameters consumption, efficiency and currentFuel are not yet supported with the Orbis map.
Declaration
Swift
public init(
consumption: Consumption? = nil,
efficiency: Efficiency? = nil,
currentFuel: Measurement<UnitVolume>? = nil
)
Parameters
consumption
|
Specifies the consumption model of the vehicle. |
efficiency
|
Specifies the engine’s efficiency. |
currentFuel
|
Current amount of fuel, for example in liters. |