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)
  • Declaration

    Swift

    public static let speedLimitsType: HorizonElementType
  • Declaration

    Swift

    public static let generalRoadPropertiesType: HorizonElementType
  • Declaration

    Swift

    public static let streetType: HorizonElementType
  • Declaration

    Swift

    public static let cityType: HorizonElementType
  • Declaration

    Swift

    public static let pathGeometryType: HorizonElementType
  • Declaration

    Swift

    public static let countryInformationType: HorizonElementType
  • Important

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

    Declaration

    Swift

    public static let poiType: HorizonElementType
  • Important

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

    Declaration

    Swift

    public static let safetyLocationType: HorizonElementType
  • Important

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

    Declaration

    Swift

    public static let trafficSignType: HorizonElementType
  • Important

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

    Declaration

    Swift

    public static let hazardType: HorizonElementType
  • Important

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

    Declaration

    Swift

    public static let unknownType: HorizonElementType
  • Declaration

    Swift

    public static let vehicleRestrictionType: HorizonElementType
  • Important

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

    Declaration

    Swift

    public static let dangerousGoodsRestrictionType: HorizonElementType
  • Declaration

    Swift

    public let rawValue: String