Structures

The following structures are available globally.

  • Represents parameters used in a Routing API Request - EVRoutingOptions.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct EVRoutingOptions : RoutingCopyBuilderProtocol, RoutingOptionsWithItinerary
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct ReachableRange : Codable
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct ReachableRangeResponse : Codable

AvoidType

  • Specifies something that the route calculation should try to avoid.

    See more

    Declaration

    Swift

    public struct AvoidType : Equatable
  • Contains one FacilityType and one PlugType which are compatible with the vehicle.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct ChargingConnection : Codable, Equatable
  • A supporting point of a charging curve consisting of chargeInkWh and timeToChargeInSeconds such that the time it takes to charge the battery from 0kWh to chargeInkWh kWh is given by timeToChargeInSeconds.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct ChargingCurveSupportPoint : Codable, Equatable
  • Contains chargingConnections and a chargingCurve that describes the charging behavior of the vehicle using the specified charging connections.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct ChargingMode : Codable, Equatable
  • Describes parameters used to determine the vehicle power and consumption.

    @param speedConsumptionInLitersPerHundredKm Map used to determine fuel consumption at different speeds. @param vehicleWeight Specifies the weight of the vehicle. @param currentFuelInLiters Current fuel in liters. @param auxiliaryPowerInLitersPerHour Specifies the amount of fuel consumed for sustaining auxiliary systems of the vehicle, in liters per hour. It can be used to specify consumption due to devices and systems such as AC systems, radio, heating, etc. Applicable only for combustion engines. @param fuelEnergyDensityInMJoulesPerLiter Specifies the amount of chemical energy stored in one liter of fuel in megajoules (MJ). It is used in conjunction with the *Efficiency parameters for conversions between saved or consumed energy and fuel. For example, energy density is 34.2 MJ/l for gasoline, and 35.8 MJ/l for Diesel fuel. Applicable only for combustion engines. @param accelerationEfficiency Specifies the efficiency of converting chemical energy stored in fuel to kinetic energy when the vehicle accelerates. @param decelerationEfficiency Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates. @param uphillEfficiency Specifies the efficiency of converting chemical energy stored in fuel to potential energy when the vehicle gains elevation. @param downhillEfficiency Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public struct CombustionVehicleConsumptionModel : VehicleConsumptionModel
  • Describes capacity and the consumption of the EV.

    @param constantSpeedConsumptionInkWhPerHundredkm Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate in kWh pairs. Applicable only for electric engines. @param vehicleWeight Specifies the weight of the vehicle. @param currentChargeInkWh Specifies the current electric energy supply in kilowatt hours (kWh). Applicable only for electric engines. @param maxChargeInkWh Specifies the capacity of the vehicle’s battery in kilowatt hours (kWh). Applicable only for electric engines. If used at all, it must be used in conjunction with {@link #withCurrentChargeInKWh(double)}. @param auxiliaryPowerInkW Specifies the amount of power consumed for sustaining auxiliary systems, in kilowatts (kW). It can be used to specify consumption due to devices and systems such as AC systems, radio, heating, etc. Applicable only for electric engines. @param consumptionInkWhPerkmAltitudeGain Specifies the amount of power consumed for 1 km altitude gain, in kilowatts (kW). Applicable only for electric engines. @param consumptionInkWhPerkmAltitudeLoss Specifies the amount of power consumed for 1 km altitude loss, in kilowatts (kW). Applicable only for electric engines. @param accelerationEfficiency Specifies the efficiency of converting electical energy to kinetic energy when the vehicle accelerates. @param decelerationEfficiency Specifies the efficiency of converting kinetic energy to saved (not consumed) electical charge when the vehicle decelerates. @param uphillEfficiency Specifies the efficiency of converting electical energy to potential energy when the vehicle gains elevation. @param downhillEfficiency Specifies the efficiency of converting potential energy to saved (not consumed) electical charge when the vehicle loses elevation.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public struct ElectricVehicleConsumptionModel : VehicleConsumptionModel

ItineraryPoint

  • Represents the point of the route

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct ItineraryPoint

Itinerary

  • Represents a requested sequence of points that a route should visit.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct Itinerary
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct LatLngBounds : Encodable, Equatable
  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct RoutingResponse