ElectronicHorizonDataLoaderOptions.withValues constructor
- SegmentDataLoaderOptions segmentDataLoaderOptions,
- int segmentDataCacheSize,
- int corridorHalfWidthInMeters,
- int corridorLengthInMeters,
Creates a new instance.
Offline availability: This property is available online and offline.
segmentDataLoaderOptionsSpecifies which data is loaded for electronic horizon segments and corridor segments. A corridor listener requires the polyline option to be enabled.segmentDataCacheSizeThe maximum number of segment-data entries kept in the in-memory LRU cache.corridorHalfWidthInMetersThe distance in meters from the most-preferred path to each side of the corridor.corridorLengthInMetersThe maximum distance in meters loaded ahead of the current position on the most-preferred path. The corridor can be shorter if the electronic horizon ends first. A value of 0 disables corridor fetching.
Implementation
const ElectronicHorizonDataLoaderOptions.withValues(this.segmentDataLoaderOptions, this.segmentDataCacheSize, this.corridorHalfWidthInMeters, this.corridorLengthInMeters);