Type Aliases
The following type aliases are available globally.
-
A single GeoJSON position.
Declaration
Swift
public typealias PointGeometry = GeoJSON<GeoJSONPosition>
-
An array of GeoJSON positions.
Declaration
Swift
public typealias MultiPointGeometry = GeoJSON<[GeoJSONPosition]>
-
An array of two or more GeoJSON positions.
Declaration
Swift
public typealias LineStringGeometry = GeoJSON<[GeoJSONPosition]>
-
An array of line string geometries. Each line string is represented by a one-dimensional GeoJSON position array.
Declaration
Swift
public typealias MultiLineStringGeometry = GeoJSON<[[GeoJSONPosition]]>
-
An array of linear ring geometries. Each linear ring is represented by a one-dimensional GeoJSON position array. For polygons with multiple rings, the first must be the exterior ring and any others must be interior rings or holes.
Declaration
Swift
public typealias PolygonGeometry = GeoJSON<[[GeoJSONPosition]]>
-
An array of polygon geometries.
Declaration
Swift
public typealias MultiPolygonGeometry = GeoJSON<[[[GeoJSONPosition]]]>
-
Specifies the efficiency of the vehicle. Refer to the original type
CombustionEngine.Efficiency
for more information.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public typealias CombustionVehicleEfficiency = CombustionEngine.Efficiency
-
Describes parameters used to determine the vehicle power and consumption. Refer to the original type
CombustionEngine.Consumption
for more information.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public typealias CombustionVehicleConsumption = CombustionEngine.Consumption
-
Specifies the efficiency of the vehicle. Refer to the original type
ElectricEngine.Efficiency
for more information.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public typealias ElectricVehicleEfficiency = ElectricEngine.Efficiency
-
Describes capacity and the consumption of the EV. Refer to the original type
ElectricEngine.Consumption
for more information.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public typealias ElectricVehicleConsumption = ElectricEngine.Consumption
-
Describes capacity and current charge of the EV. Refer to the original type
ElectricEngine.ChargeLevel
for more information.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public typealias ChargeLevel = ElectricEngine.ChargeLevel
-
Describes connector information of an electric engine. Refer to the original type
ElectricEngine.ChargingParameters
for more information.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public typealias ChargingParameters = ElectricEngine.ChargingParameters