Class: NavigationMapPaneView
A display pane view which displays a navigation map.
Hierarchy
DisplayPaneView
<NavigationMapPaneViewProps
,DisplayPaneViewEvent
<NavigationMapPaneViewEventTypes
>>↳
NavigationMapPaneView
Constructors
constructor
• new NavigationMapPaneView(props
): NavigationMapPaneView
Creates an instance of a DisplayComponent.
Parameters
Name | Type | Description |
---|---|---|
props | NavigationMapPaneViewProps | The propertis of the component. |
Returns
Inherited from
Defined in
src/sdk/components/FSComponent.ts:73
Properties
_title
• Protected
Readonly
_title: Subject
<string
| VNode
>
Inherited from
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneView.ts:21
context
• Optional
context: [] = undefined
The context on this component, if any.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:64
contextType
• Optional
Readonly
contextType: readonly [] = undefined
The type of context for this component, if any.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:67
isPfd
• Readonly
isPfd: boolean
Inherited from
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneView.ts:25
props
• props: NavigationMapPaneViewProps
& ComponentProps
The properties of the component.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:61
title
• Readonly
title: Subscribable
<string
| VNode
>
The title of this display pane view.
Inherited from
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneView.ts:23
Methods
destroy
▸ destroy(): void
Destroys this component.
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/NavigationMap/NavigationMapPaneView.tsx:572
getContext
▸ getContext(context
): never
Gets a context data subscription from the context collection.
Parameters
Name | Type | Description |
---|---|---|
context | never | The context to get the subscription for. |
Returns
never
The requested context.
Throws
An error if no data for the specified context type could be found.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:106
onAfterRender
▸ onAfterRender(): void
A callback that is called after the component is rendered.
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/NavigationMap/NavigationMapPaneView.tsx:208
onBeforeRender
▸ onBeforeRender(): void
A callback that is called before the component is rendered.
Returns
void
Inherited from
DisplayPaneView.onBeforeRender
Defined in
src/sdk/components/FSComponent.ts:80
onEvent
▸ onEvent(event
): void
Called when a display pane view event is received by this view.
Parameters
Name | Type | Description |
---|---|---|
event | DisplayPaneViewEvent <NavigationMapPaneViewEventTypes , "display_pane_map_range_inc" | "display_pane_map_range_dec" | "display_pane_map_pointer_active_set" | "display_pane_map_pointer_active_toggle" | "display_pane_map_pointer_move" | "display_pane_nav_map_fpl_focus_set" | "display_pane_nav_map_text_inset_update" > | The event. |
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/NavigationMap/NavigationMapPaneView.tsx:322
onPause
▸ onPause(): void
Called when this view is hidden.
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/NavigationMap/NavigationMapPaneView.tsx:298
onResize
▸ onResize(size
, width
, height
): void
Called when this view's parent pane is resized while this view is visible.
Parameters
Name | Type | Description |
---|---|---|
size | DisplayPaneSizeMode | The size of this view's parent pane. |
width | number | The width of this view's parent pane, in pixels. |
height | number | The height of this view's parent pane, in pixels. |
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/NavigationMap/NavigationMapPaneView.tsx:308
onResume
▸ onResume(size
, width
, height
): void
Called when this view is made visible.
Parameters
Name | Type | Description |
---|---|---|
size | DisplayPaneSizeMode | The size of this view's parent pane. |
width | number | The width of this view's parent pane, in pixels. |
height | number | The height of this view's parent pane, in pixels. |
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/NavigationMap/NavigationMapPaneView.tsx:286
onUpdate
▸ onUpdate(time
): void
Called every update cycle.
Parameters
Name | Type | Description |
---|---|---|
time | number | The current real (operating system) time, as a UNIX timestamp in milliseconds. |
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/NavigationMap/NavigationMapPaneView.tsx:316
render
▸ render(): null
| VNode
Renders the component.
Returns
null
| VNode
A JSX element to be rendered.
Overrides
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/NavigationMap/NavigationMapPaneView.tsx:546