Skip to main content

Class: GtcNearestIntersectionPage

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:20

A GTC nearest intersection page.

Extends​

Constructors​

Constructor​

new GtcNearestIntersectionPage(props): GtcNearestIntersectionPage

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:108

Constructor.

Parameters​

ParameterTypeDescription
propsGtcNearestWaypointPagePropsThis component's props.

Returns​

GtcNearestIntersectionPage

Throws​

Error if a display pane index is not defined for this view.

Inherited from​

GtcNearestWaypointPage.constructor

Properties​

_activeComponent​

protected readonly _activeComponent: Subject<GtcInteractionHandler | null>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34

Inherited from​

GtcNearestWaypointPage._activeComponent


_sidebarState​

protected readonly _sidebarState: GtcSidebarState

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36

Inherited from​

GtcNearestWaypointPage._sidebarState


_title​

protected readonly _title: Subject<string | undefined>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:40

Inherited from​

GtcNearestWaypointPage._title


bus​

protected readonly bus: EventBus

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:31

Inherited from​

GtcNearestWaypointPage.bus


context?​

optional context: [] = undefined

Defined in: sdk/components/FSComponent.ts:67

The context on this component, if any.

Inherited from​

GtcNearestWaypointPage.context


contextType?​

readonly optional contextType: readonly [] = undefined

Defined in: sdk/components/FSComponent.ts:70

The type of context for this component, if any.

Inherited from​

GtcNearestWaypointPage.contextType


displayPaneIndex​

protected readonly displayPaneIndex: ControllableDisplayPaneIndex

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:53

Inherited from​

GtcNearestWaypointPage.displayPaneIndex


displayPaneSettings​

protected readonly displayPaneSettings: UserSettingManager<DisplayPaneSettings>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:54

Inherited from​

GtcNearestWaypointPage.displayPaneSettings


facWaypointCache​

protected readonly facWaypointCache: GarminFacilityWaypointCache

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:56

Inherited from​

GtcNearestWaypointPage.facWaypointCache


gtcService​

protected readonly gtcService: GtcService

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32

Inherited from​

GtcNearestWaypointPage.gtcService


hasSelectedWaypoint​

protected readonly hasSelectedWaypoint: MappedSubscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:71

Whether a waypoint is selected.

Inherited from​

GtcNearestWaypointPage.hasSelectedWaypoint


headingPipe?​

protected optional headingPipe: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:98

Inherited from​

GtcNearestWaypointPage.headingPipe


isGpsDataFailedSub?​

protected optional isGpsDataFailedSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:99

Inherited from​

GtcNearestWaypointPage.isGpsDataFailedSub


isGpsDrSub?​

protected optional isGpsDrSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:100

Inherited from​

GtcNearestWaypointPage.isGpsDrSub


isPaused​

protected isPaused: boolean = true

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:93

Inherited from​

GtcNearestWaypointPage.isPaused


listItemHeight​

protected readonly listItemHeight: 70 | 130

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:82

Inherited from​

GtcNearestWaypointPage.listItemHeight


listItemSpacing​

protected readonly listItemSpacing: 1 | 2

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:83

Inherited from​

GtcNearestWaypointPage.listItemSpacing


listRef​

protected readonly listRef: NodeReference<GtcList<NearestWaypointEntry<FacilityWaypoint<IntersectionFacility>> & DynamicListData>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:44

Inherited from​

GtcNearestWaypointPage.listRef


nearestContext?​

protected optional nearestContext: G3000NearestContext

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:58

Inherited from​

GtcNearestWaypointPage.nearestContext


nearestFacilitiesUpdateSub?​

protected optional nearestFacilitiesUpdateSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:95

Inherited from​

GtcNearestWaypointPage.nearestFacilitiesUpdateSub


nearestSubscription?​

protected optional nearestSubscription: NearestSubscription<IntersectionFacility>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:59

Inherited from​

GtcNearestWaypointPage.nearestSubscription


optionsPopupKey​

protected readonly optionsPopupKey: Options = GtcNearestIntersectionPagePopupKeys.Options

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:22

The view key for this page's options popup.

Overrides​

GtcNearestWaypointPage.optionsPopupKey


planeHeadingTrue​

protected readonly planeHeadingTrue: Subject<number>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:80

The true heading of the airplane, in degrees, or NaN if heading data is invalid.

Inherited from​

GtcNearestWaypointPage.planeHeadingTrue


ppos​

protected readonly ppos: GeoPointSubject

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:77

The position of the airplane.

Inherited from​

GtcNearestWaypointPage.ppos


pposPipe?​

protected optional pposPipe: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:97

Inherited from​

GtcNearestWaypointPage.pposPipe


props​

props: GtcNearestWaypointPageProps & ComponentProps

Defined in: sdk/components/FSComponent.ts:64

The properties of the component.

Inherited from​

GtcNearestWaypointPage.props


publisher​

protected readonly publisher: Publisher<DisplayPaneControlEvents<NearestPaneViewEventTypes>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:51

Inherited from​

GtcNearestWaypointPage.publisher


resetMapRange​

protected resetMapRange: boolean = false

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:89

Inherited from​

GtcNearestWaypointPage.resetMapRange


rootCssClass​

protected readonly rootCssClass: SetSubject<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:46

Inherited from​

GtcNearestWaypointPage.rootCssClass


selectedFacility​

protected readonly selectedFacility: Subject<IntersectionFacility | null>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:74

The facility associated with the selected waypoint.

Inherited from​

GtcNearestWaypointPage.selectedFacility


selectedFacilityPipe?​

protected optional selectedFacilityPipe: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:96

Inherited from​

GtcNearestWaypointPage.selectedFacilityPipe


selectedWaypoint​

protected readonly selectedWaypoint: Subject<FacilityWaypoint<IntersectionFacility> | null>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:69

The selected waypoint, or null if there is no selected waypoint.

Inherited from​

GtcNearestWaypointPage.selectedWaypoint


showOnMap​

protected readonly showOnMap: Subject<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:87

Inherited from​

GtcNearestWaypointPage.showOnMap


showOnMapIcao​

protected readonly showOnMapIcao: MappedSubscribable<IcaoValue>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:88

Inherited from​

GtcNearestWaypointPage.showOnMapIcao


showOnMapSub?​

protected optional showOnMapSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:101

Inherited from​

GtcNearestWaypointPage.showOnMapSub


showOnMapType​

protected readonly showOnMapType: Intersection = NearestPaneSelectionType.Intersection

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:25

The view key for this page's options popup.

Overrides​

GtcNearestWaypointPage.showOnMapType


sidebarState​

readonly sidebarState: SidebarStateReadonly

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:38

The GTC sidebar state (labels and buttons) requested by this view.

Inherited from​

GtcNearestWaypointPage.sidebarState


title​

readonly title: Subscribable<string | undefined>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:42

This view's title.

Inherited from​

GtcNearestWaypointPage.title


unitsSettingManager​

protected readonly unitsSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:91

Inherited from​

GtcNearestWaypointPage.unitsSettingManager


waypointArray​

protected readonly waypointArray: NearestWaypointArray<Intersection, NearestWaypointEntry<FacilityWaypoint<IntersectionFacility>>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:61

Inherited from​

GtcNearestWaypointPage.waypointArray


GPS_FAIL_CLEAR_LIST_DELAY​

protected readonly static GPS_FAIL_CLEAR_LIST_DELAY: 10000 = 10000

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:42

Inherited from​

GtcNearestWaypointPage.GPS_FAIL_CLEAR_LIST_DELAY

Methods​

createWaypointEntry()​

protected createWaypointEntry(waypoint): NearestWaypointEntry

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:231

Creates a waypoint entry for a nearest facility search result.

Parameters​

ParameterTypeDescription
waypointFacilityWaypoint<IntersectionFacility>A nearest facility search result, as a Waypoint.

Returns​

NearestWaypointEntry

A waypoint entry for the specified nearest facility search result.

Inherited from​

GtcNearestWaypointPage.createWaypointEntry


destroy()​

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:302

Destroys this component.

Returns​

void

Inherited from​

GtcNearestWaypointPage.destroy


getContext()​

protected getContext(context): never

Defined in: sdk/components/FSComponent.ts:109

Gets a context data subscription from the context collection.

Parameters​

ParameterTypeDescription
contextneverThe 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​

GtcNearestWaypointPage.getContext


getCssClass()​

protected getCssClass(): string

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:48

Gets the CSS class for this page's root element.

Returns​

string

The CSS class for this page's root element.

Overrides​

GtcNearestWaypointPage.getCssClass


getHeaderTypeLabel()​

protected getHeaderTypeLabel(): string

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:53

Gets the label for the type column of this page's header .

Returns​

string

The label for the type column of this page's header.

Overrides​

GtcNearestWaypointPage.getHeaderTypeLabel


getNearestSubscription()​

protected getNearestSubscription(context): NearestSubscription<IntersectionFacility>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:28

Gets this page's nearest facilities subscription from a nearest context.

Parameters​

ParameterTypeDescription
contextG3000NearestContextA nearest context.

Returns​

NearestSubscription<IntersectionFacility>

This page's nearest facilities subscription from the specified nearest context.

Overrides​

GtcNearestWaypointPage.getNearestSubscription


initNearestSearch()​

protected initNearestSearch(): Promise<void>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:134

Initializes this page's nearest waypoints search.

Returns​

Promise<void>

Inherited from​

GtcNearestWaypointPage.initNearestSearch


onAfterRender()​

onAfterRender(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:33

A callback that is called after the component is rendered.

Returns​

void

Overrides​

GtcNearestWaypointPage.onAfterRender


onBeforeRender()​

onBeforeRender(): void

Defined in: sdk/components/FSComponent.ts:83

A callback that is called before the component is rendered.

Returns​

void

Inherited from​

GtcNearestWaypointPage.onBeforeRender


onClose()​

onClose(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:197

A method that is called when this view is closed. A view is closed when it does not appear in the most recent history state of its parent view stack.

Returns​

void

Inherited from​

GtcNearestWaypointPage.onClose


onGtcInteractionEvent()​

onGtcInteractionEvent(event): boolean

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:97

Called when there is an interaction event when this is the active view.

Parameters​

ParameterTypeDescription
eventGtcInteractionEventThe event.

Returns​

boolean

Whether the event was handled or not.

Inherited from​

GtcNearestWaypointPage.onGtcInteractionEvent


onInUse()​

onInUse(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:48

A method that is called when this view comes into use. A view is in-use when it appears in at least one history state of its parent view stack.

Returns​

void

Inherited from​

GtcNearestWaypointPage.onInUse


onOpen()​

onOpen(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:192

A method that is called when this view is opened. A view is open when it appears in the most recent history state of its parent view stack.

Returns​

void

Inherited from​

GtcNearestWaypointPage.onOpen


onOutOfUse()​

onOutOfUse(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:56

A method that is called when this view goes out of use. A view is out-of-use when it does not appear in any history states of its parent view stack.

Returns​

void

Inherited from​

GtcNearestWaypointPage.onOutOfUse


onPause()​

onPause(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:214

A method that is called when this view is paused. A view is paused when it is not the active view.

Returns​

void

Inherited from​

GtcNearestWaypointPage.onPause


onResume()​

onResume(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:203

A method that is called when this view is resumed. A view is resumed when it is the active view.

Returns​

void

Inherited from​

GtcNearestWaypointPage.onResume


render()​

render(): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:248

Renders the component.

Returns​

VNode

A JSX element to be rendered.

Inherited from​

GtcNearestWaypointPage.render


renderAdditionalHeaderColumns()​

protected renderAdditionalHeaderColumns(): VNode | null

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:58

Renders additional header columns.

Returns​

VNode | null

Additional header columns, as a VNode, or null if there are no additional columns.

Overrides​

GtcNearestWaypointPage.renderAdditionalHeaderColumns


renderListItem()​

protected renderListItem(data): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:63

Renders an item for this page's nearest waypoint list.

Parameters​

ParameterTypeDescription
dataNearestWaypointEntry<FacilityWaypoint<IntersectionFacility>>The nearest waypoint entry for which to render.

Returns​

VNode

A nearest waypoint list item, as a VNode.

Overrides​

GtcNearestWaypointPage.renderListItem


renderOptionsPopup()​

protected renderOptionsPopup(gtcService, controlMode, displayPaneIndex?): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestIntersectionPage.tsx:83

Renders this page's options popup.

Parameters​

ParameterTypeDescription
gtcServiceGtcServiceThe GTC service.
controlModeGtcControlModeThe control mode to which the popup belongs.
displayPaneIndex?ControllableDisplayPaneIndexThe index of the display pane associated with the popup.

Returns​

VNode

This page's options popup, as a VNode.


sendSelectionData()​

protected sendSelectionData(data): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:239

Sends waypoint selection data to the display pane controlled by this page.

Parameters​

ParameterTypeDescription
dataNearestPaneSelectionDataThe data to send.

Returns​

void

Inherited from​

GtcNearestWaypointPage.sendSelectionData