ElectronicHorizonOptions
public struct ElectronicHorizonOptions : Hashable
Provides options to configure ElectronicHorizonEngine.
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 ordered list of distances that define how far to look ahead in meters when calculating electronic horizon paths. The first entry of the list is for the most preferred path, the second is for the side paths of the first level, the third is for the side paths of the second level, and so on. Each entry defines how far ahead the path should be provided. The valid number of values is from one to ten. Values beyond the tenth entry are removed from the list. If the list is empty, a single default distance value is used instead.
Declaration
Swift
public var lookAheadDistancesInMeters: [Double] -
The trailing distance of the electronic horizon path in meters. Segments are removed from the path once they are passed and the distance to them exceeds this value.
Declaration
Swift
public var trailingDistanceInMeters: Double -
Creates a new instance.
Offline availability: This property is available online and offline.
Declaration
Swift
public init(lookAheadDistancesInMeters: [Double], trailingDistanceInMeters: Double)