Region

public struct Region : 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

  • 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>
  • Country name. Empty string if no country is assigned to the part of the path.

    Declaration

    Swift

    public let country: String
  • State/province/region name. Empty string if no sub-country is assigned to the part of the path.

    Declaration

    Swift

    public let subCountry: String