SafetyLocation

public struct SafetyLocation : HorizonElement

Describes path geometry of the horizon element

Important

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

Public

  • Safety location types.

    Important

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

    Declaration

    Swift

    public enum SafetyLocationType
  • Declaration

    Swift

    public let elementType: HorizonElementType
  • id

    Declaration

    Swift

    public let id: UUID
  • Declaration

    Swift

    public let pathID: Int
  • Declaration

    Swift

    public let startOffset: Measurement<UnitLength>
  • Declaration

    Swift

    public let endOffset: Measurement<UnitLength>
  • Unique id of the safety location data object.

    Declaration

    Swift

    public let safetyLocationId: String
  • Start coordinate of the safety location.

    Declaration

    Swift

    public let startLocation: CLLocationCoordinate2D
  • End coordinate of the safety location.

    Declaration

    Swift

    public let endLocation: CLLocationCoordinate2D
  • Bounding box encapsulating the safety location.

    Declaration

    Swift

    public let boundingBox: BoundingBox
  • Safety location type.

    Declaration

    Swift

    public let type: SafetyLocationType
  • The maximum allowed speed for the reported safety location.

    Declaration

    Swift

    public let speedLimit: Measurement<UnitSpeed>?
  • Recommended warning distance.

    Declaration

    Swift

    public let recommendedWarningDistance: Measurement<UnitLength>?
  • An indication if the camera is a zone. i.e. if the start point and the end point are truly different locations.

    Declaration

    Swift

    public let isZone: Bool