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
| Parameter | Type | Description |
|---|---|---|
gduIndex | number | The index of the data provider's parent GDU. |
bus | EventBus | The event bus. |
chartsSelectionManager | G3XChartsSelectionManager | The manager that controls the selections for the chart display for which to provide data. |
posHeadingDataProvider | PositionHeadingDataProvider | A provider of airplane position and heading data. |
chartsSettingManager | UserSettingManager<G3XChartsUserSettingTypes> | A manager for electronic charts user settings. |
Returns
DefaultWaypointInfoChartDisplayDataProvider
Properties
chartPageSelection
readonlychartPageSelection:Subscribable<null|G3XChartsPageSelectionData>
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
readonlychartsSources: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
readonlycolorMode: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
readonlyisLoadingAirportData: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
readonlyplaneHeading: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
readonlyplanePosition: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
readonlyunitsDistanceMode: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