HorizonElementType
public struct HorizonElementType : RawRepresentable, Hashable
Defines the interface to horizon element types.
-
Initializer to create a custom
HorizonElementType
. Will return nil if the raw value overrides a type created by TomTom.Declaration
Swift
public init?(rawValue: String)
-
Horizon element type used for data related to speed limits.
Declaration
Swift
public static let speedLimitsType: HorizonElementType
-
Horizon element type used for data related to general road properties.
Declaration
Swift
public static let generalRoadPropertiesType: HorizonElementType
-
Horizon element type used for data related to streets.
Declaration
Swift
public static let streetType: HorizonElementType
-
Horizon element type used for data related to cities.
Declaration
Swift
public static let cityType: HorizonElementType
-
Horizon element type used for data related to path geometry.
Declaration
Swift
public static let pathGeometryType: HorizonElementType
-
Horizon element type used for data related to country information.
Declaration
Swift
public static let countryInformationType: HorizonElementType
-
Horizon element type used for data related to Points of Interest (POIs).
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public static let poiType: HorizonElementType
-
Horizon element type used for data related to safety locations.
Declaration
Swift
public static let safetyLocationType: HorizonElementType
-
Horizon element type used for data related to traffic signs.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public static let trafficSignType: HorizonElementType
-
Horizon element type used for data related to hazards.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public static let hazardType: HorizonElementType
-
Unknown type of horizon element.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public static let unknownType: HorizonElementType
-
Horizon element type used for data related to vehicle restrictions.
Declaration
Swift
public static let vehicleRestrictionType: HorizonElementType
-
Horizon element type used for data related to dangerous goods restrictions.
Declaration
Swift
public static let dangerousGoodsRestrictionType: HorizonElementType
-
Raw string value corresponding to type of horizon element.
Declaration
Swift
public let rawValue: String