HorizonPosition

public struct HorizonPosition

Current position in the horizon.

Important

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

Public

  • Identifier of the path that this position belongs to.

    Declaration

    Swift

    public let pathID: Int
  • Offset from the start of the path to this position.

    Declaration

    Swift

    public let offset: Measurement<UnitLength>
  • Flag to indicate if the position is on road: true if on road, false otherwise.

    Declaration

    Swift

    public let isOnRoad: Bool
  • Geographical location associated with this position.

    Declaration

    Swift

    public let location: GeoLocation