ElectronicHorizonOptions

public struct ElectronicHorizonOptions : Hashable

Object with options to configure ElectronicHorizon.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • The list of values to look ahead in meters when caclulating electronic horizon paths. Sublevel of the paths is defined based on size. Valid number of values is from 1 to 10. All the exceeding entries are removed from the list. First entry of the list is for the Most preferred path, second is for the alternative path of first level, etc.

    Declaration

    Swift

    public var lookAheadDistancesInMeters: [Double]
  • The object that defines trailing distance of the electronic horizon path. Segments will be removed once passed and distance to it exceeds ElectronicHorizonOptions.trailingDistanceInMeters.

    Declaration

    Swift

    public var trailingDistanceInMeters: Double
  • Creates a new instance.

    Declaration

    Swift

    public init(lookAheadDistancesInMeters: [Double], trailingDistanceInMeters: Double)