Structures
The following structures are available globally.
-
Information about one of the connectors available in the
See moreChargingPark.Declaration
Swift
public struct ConnectorDetails
-
Specifies the minimum (inclusive) and maximum (exclusive) voltage values. The lower bound value should be a non-negative number (positive or zero). The upper bound value should be greater than the lower bound, or if set to zero, it will be treated as infinity. If not specified, a range of [0, infinity] is assumed.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct VoltageRange : Equatable, Hashable
-
Generic container for GeoJSON geometry types.
GeoJSON is a geospatial data interchange format based on JavaScript Object Notation (JSON). It defines several types of JSON objects and the manner in which they are combined to represent data about geographic features, their properties, and their spatial extents. For more info on the GeoJSON format see the following document.
See moreDeclaration
Swift
public struct GeoJSON<T>extension GeoJSON: Equatable where T: Equatable
-
The
See moreFeaturestructure encapsulates a GeoJSON Feature - a geospatial object with associated properties. GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection. Features in GeoJSON contain aGeometryobject and additional properties.Declaration
Swift
public struct Featureextension Feature: Equatable
-
Fundamental geometry construct. All other GeoJSON geometry types are built based on it.
See moreDeclaration
Swift
public struct GeoJSONPositionextension GeoJSONPosition: Equatable
-
The smallest rectangular area within which all the coordinates lie.
See moreDeclaration
Swift
public struct BoundingBox : Equatable, Hashable
-
The
See moreGeometrystruct represents a single geometric entity according to the GeoJSON specification.Declaration
Swift
public struct Geometryextension Geometry: Equatable
-
The
See moreGeometryCollectionstruct represents a collection ofGeometryobjects as defined by the GeoJSON specification. It provides a way to group multiple geometries together, regardless of their types.Declaration
Swift
public struct GeometryCollectionextension GeometryCollection: Equatable
-
GeoJSON represented by
See moreGeometryData.Declaration
Swift
public struct GeometryData
-
Defines fuel types supported in the fuzzy search.
See moreDeclaration
Swift
public struct FuelType : Hashableextension FuelType: CustomDebugStringConvertible
-
Defines the OpeningHours of a POI.
See moreDeclaration
Swift
public struct OpeningHours
-
Point of Interest information for a search result.
See moreDeclaration
Swift
public struct POI
-
Defines the POI identifier (POIID) required to fetch POI details.
See moreDeclaration
Swift
public struct POIID
-
Contains information about an EV charging park.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ChargingPark
-
POI category ID.
See moreDeclaration
Swift
public struct POICategoryID : Hashable
-
A representation of an entry point for a POI.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct EntryPointextension EntryPoint: Equatable
-
Represents information about specific place.
See moreDeclaration
Swift
public struct Place : Equatable -
Extending standard structures like
Measurementwith properties likevar metersis convenient:- it avoids extracting value without explicit conversion to a certain unit
- it simplifies getting value from an optional
MeasurementBut it is also risky because these extensions might conflict with extensions from other libraries or Apple. This decorator mitigates the risk of conflicts while providing a short, readable code. Typical use cases are: - extracting value from a value representing a unit of measure:
let optionalDistanceInMeters = distance?.tt.meters - performing computations on values representing units of measure:
cumulativeDistance += anotherDistance.tt - comparing values representing units of measure:
if delay < .tt.seconds(5) {} - combining value extraction and typecast:
let intValue = distance.tt.intValue(in: .meters)
Declaration
Swift
public struct MeasurementDecorator<UnitType> where UnitType : Unit
-
Total number of lanes on the road in both directions.
See moreDeclaration
Swift
public struct NumberOfLanes : Equatable
-
Provides information about the properties of the road at the current location.
See moreDeclaration
Swift
public struct RoadProperties : Equatable
-
Indicates the cause of a traffic event.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct Cause
-
Representation of a traffic event. Traffic events represent unusual situations on the road, like traffic congestion, accidents or road works.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct TrafficEvent
-
Wrapper to provide equatable conformance to Apple objects inside of the SDK.
See moreDeclaration
Swift
@propertyWrapper public struct EquatableWrapper<T> : Equatable
-
Specifies the ratio by which energy is converted for altitude changes.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct AltitudeChangeEfficiency : Equatable, Hashable
-
Specifies the energy that is gained or lost by altitude changes.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct AltitudeChangeEnergy : Equatable, Hashable
-
Describes connector information of an electric engine.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ChargingConnector : Equatable, Hashable
-
A combustion vehicle engine for route planning and consumption estimation.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct CombustionEngine
-
A electric vehicle engine for route planning and consumption estimation.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ElectricEngine
-
A vehicle of type truck.
Note
This option is not yet supported with the Orbis map.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct Truck : Vehicle, Motorized, CargoCapable, InternalConformanceLocked
-
Describes dimensions of the vehicle.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct VehicleDimensions
-
Describes vehicle model identifier.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct VehicleModelID : Equatable
-
Specifies the ratio by which energy is converted during velocity changes.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct VelocityChangeEfficiency : Equatable, Hashable
Structures Reference