HorizonElement
public protocol HorizonElement
Defines the interface to horizon elements.
-
Identifier of this element.
Declaration
Swift
var id: Int { get } -
Identifier of the path to which this element belongs.
Declaration
Swift
var pathID: Int { get } -
Start offset on the path.
Declaration
Swift
var startOffset: Measurement<UnitLength> { get } -
End offset on the path.
Declaration
Swift
var endOffset: Measurement<UnitLength> { get } -
Type of the element. Used to filter elements by type.
Declaration
Swift
var elementType: HorizonElementType { get }
TomTom SDK for iOS (0.53.1)
HorizonElement