Skip to main content

Class: DisplayPaneViewMapDataPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPaneViewMapDataPublisher.ts:14

A publisher of common display pane view map data. Publishes the pointer active state and the hovered waypoint ICAO for a map.

Constructors

Constructor

new DisplayPaneViewMapDataPublisher(displayPaneIndex, bus, displayPaneUserSettingManager, compiledMap): DisplayPaneViewMapDataPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPaneViewMapDataPublisher.ts:26

Creates a new instance of DisplayPaneViewMapDataPublisher.

Parameters

ParameterTypeDescription
displayPaneIndexDisplayPaneIndexThe index of this publisher's parent display pane.
busEventBusThe event bus.
displayPaneUserSettingManagerUserSettingManager<DisplayPaneSettings>A manager of user settings for the publisher's parent display pane.
compiledMapCompiledMapSystem<{ pointer?: MapPointerModule; waypointHover?: MapWaypointHoverModule; }, any, any, any>The compiled map from which to source data.

Returns

DisplayPaneViewMapDataPublisher

Methods

destroy()

destroy(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPaneViewMapDataPublisher.ts:86

Destroys this publisher.

Returns

void


onPause()

onPause(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPaneViewMapDataPublisher.ts:57

Responds to when this publisher's parent display pane view is paused.

Returns

void


onResume()

onResume(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPaneViewMapDataPublisher.ts:50

Responds to when this publisher's parent display pane view is resumed.

Returns

void