Skip to main content

Interface: ChartsPaneViewDataProvider

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:11

A provider of data for an electronic charts display pane view.

Properties

chartPageSection

readonly chartPageSection: Subscribable<string>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:22

The ID of the active chart page section.


chartPageSelection

readonly chartPageSelection: Subscribable<null | G3000ChartsPageSelectionData>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:19

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


chartsSources

readonly chartsSources: Iterable<G3000ChartsSource>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:13

All available charts sources.


lightMode

readonly lightMode: Subscribable<G3000ChartsDisplayLightMode>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:25

The active light mode with which to display charts.


planeHeading

readonly planeHeading: Accessible<number>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:34

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


planePosition

readonly planePosition: Accessible<Readonly<LatLonInterface>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:31

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


unitsDistanceMode

readonly unitsDistanceMode: Subscribable<UnitsDistanceSettingMode>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:37

The current distance units mode.

Methods

destroy()

destroy(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:52

Destroys this data provider.

Returns

void


pause()

pause(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:47

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

Returns

void


resume()

resume(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/ChartsPane/ChartsPaneViewDataProvider.ts:42

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

Returns

void