Skip to main content

Class: DefaultWaypointInfoChartDisplayDataProvider

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:20

A default implementation of WaypointInfoChartDisplayDataProvider.

Implements​

Constructors​

Constructor​

new DefaultWaypointInfoChartDisplayDataProvider(gduIndex, bus, chartsSelectionManager, posHeadingDataProvider, chartsSettingManager): DefaultWaypointInfoChartDisplayDataProvider

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:60

Creates a new instance of DefaultWaypointInfoChartDisplayDataProvider.

Parameters​

ParameterTypeDescription
gduIndexnumberThe index of the data provider's parent GDU.
busEventBusThe event bus.
chartsSelectionManagerG3XChartsSelectionManagerThe manager that controls the selections for the chart display for which to provide data.
posHeadingDataProviderPositionHeadingDataProviderA provider of airplane position and heading data.
chartsSettingManagerUserSettingManager<G3XChartsUserSettingTypes>A manager for electronic charts user settings.

Returns​

DefaultWaypointInfoChartDisplayDataProvider

Properties​

chartPageSelection​

readonly chartPageSelection: Subscribable<G3XChartsPageSelectionData | null>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:27

A description of the chart page that is selected to be displayed, or null if no page has been selected to be displayed.

Implementation of​

WaypointInfoChartDisplayDataProvider.chartPageSelection


chartsSources​

readonly chartsSources: ReadonlyMap<string, G3XChartsSource>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:24

A map to all available electronic charts sources from their unique IDs.

Implementation of​

WaypointInfoChartDisplayDataProvider.chartsSources


colorMode​

readonly colorMode: Subscribable<G3XChartsDisplayColorMode>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:37

The active color mode with which to display charts.

Implementation of​

WaypointInfoChartDisplayDataProvider.colorMode


isLoadingAirportData​

readonly isLoadingAirportData: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:30

Whether airport chart data is currently being loaded.

Implementation of​

WaypointInfoChartDisplayDataProvider.isLoadingAirportData


planeHeading​

readonly planeHeading: Accessible<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:43

The airplane's current true heading, in degrees, or NaN if the heading is not available.

Implementation of​

WaypointInfoChartDisplayDataProvider.planeHeading


planePosition​

readonly planePosition: Accessible<Readonly<LatLonInterface>>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:40

The airplane's current position. If the position is not available, then both latitude and longitude are equal to NaN.

Implementation of​

WaypointInfoChartDisplayDataProvider.planePosition


unitsDistanceMode​

readonly unitsDistanceMode: Subscribable<UnitsDistanceSettingMode>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:46

The current distance units mode.

Implementation of​

WaypointInfoChartDisplayDataProvider.unitsDistanceMode

Methods​

destroy()​

destroy(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:129

Destroys this data provider.

Returns​

void

Implementation of​

WaypointInfoChartDisplayDataProvider.destroy


pause()​

pause(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:100

Pauses this data provider. When paused, the provider stops updating its data until it is resumed.

Returns​

void

Implementation of​

WaypointInfoChartDisplayDataProvider.pause


resume()​

resume(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/DefaultWaypointInfoChartDisplayDataProvider.ts:95

Resumes this data provider. Once resumed, the provider will automatically update its data.

Returns​

void

Implementation of​

WaypointInfoChartDisplayDataProvider.resume