Skip to main content

Class: BasicNavIndicator<SourceName>

A basic implementation of NavReferenceIndicator whose data is derived directly from its source.

Type parameters

NameType
SourceNameextends string

Hierarchy

Implements

Constructors

constructor

new BasicNavIndicator<SourceName>(navSources, sourceName?): BasicNavIndicator<SourceName>

Creates a new instance of BasicNavReferenceIndicator.

Type parameters

NameType
SourceNameextends string

Parameters

NameTypeDefault valueDescription
navSourcesNavSources<SourceName>undefinedThe possible nav sources from which this indicator can derive data.
sourceNamenull | SourceNamenullThe initial source to use, if any.

Returns

BasicNavIndicator<SourceName>

Overrides

AbstractNavBase.constructor

Defined in

src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:38

Properties

activeFrequency

Readonly activeFrequency: Subject<null | number>

The radio frequency of the reference. Only available if the reference is a navaid.

Implementation of

NavIndicator.activeFrequency

Inherited from

AbstractNavBase.activeFrequency

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:138


bearing

Readonly bearing: Subject<null | number>

The magnetic bearing, in degrees, from the airplane to the reference position.

Implementation of

NavIndicator.bearing

Inherited from

AbstractNavBase.bearing

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:86


course

Readonly course: Subject<null | number>

The magnetic bearing, in degrees, of the reference course at the reference position.

Implementation of

NavIndicator.course

Inherited from

AbstractNavBase.course

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:92


distance

Readonly distance: Subject<null | number>

The distance, in nautical miles, from the airplane to the reference position.

Implementation of

NavIndicator.distance

Inherited from

AbstractNavBase.distance

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:89


fields

Protected Readonly fields: Map<keyof NavBase, MutableSubscribable<any, any>>

Inherited from

AbstractNavBase.fields

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:158


hasDme

Readonly hasDme: Subject<null | boolean>

Whether the reference has a DME component.

Implementation of

NavIndicator.hasDme

Inherited from

AbstractNavBase.hasDme

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:129


hasGlideSlope

Readonly hasGlideSlope: Subject<null | boolean>

Whether the reference has a glideslope component.

Implementation of

NavIndicator.hasGlideSlope

Inherited from

AbstractNavBase.hasGlideSlope

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:135


hasLocalizer

Readonly hasLocalizer: Subject<null | boolean>

Whether the reference has a localizer component.

Implementation of

NavIndicator.hasLocalizer

Inherited from

AbstractNavBase.hasLocalizer

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:132


hasNav

Readonly hasNav: Subject<null | boolean>

Whether the reference has a VOR component.

Implementation of

NavIndicator.hasNav

Inherited from

AbstractNavBase.hasNav

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:126


ident

Readonly ident: Subject<null | string>

The ident of the reference.

Implementation of

NavIndicator.ident

Inherited from

AbstractNavBase.ident

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:80


isLocalizer

Readonly isLocalizer: Subject<null | boolean>

Whether the reference is a localizer.

Implementation of

NavIndicator.isLocalizer

Inherited from

AbstractNavBase.isLocalizer

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:123


lateralDeviation

Readonly lateralDeviation: Subject<null | number>

Lateral deviation from the reference course scaled such that a value of +/-1 is equal to full-scale CDI deflection (i.e. the lateralDeviationScaling value). Positive values indicate deflection of the CDI to the right (i.e. the airplane is situated to the left of the reference).

Implementation of

NavIndicator.lateralDeviation

Inherited from

AbstractNavBase.lateralDeviation

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:144


lateralDeviationScale

Readonly lateralDeviationScale: Subject<null | number>

The magnitude of full-scale CDI deflection, in nautical miles.

Implementation of

NavIndicator.lateralDeviationScale

Inherited from

AbstractNavBase.lateralDeviationScale

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:147


lateralDeviationScalingMode

Readonly lateralDeviationScalingMode: Subject<null | number>

The lateral deviation scaling mode.

Implementation of

NavIndicator.lateralDeviationScalingMode

Inherited from

AbstractNavBase.lateralDeviationScalingMode

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:150


localizerCourse

Readonly localizerCourse: Subject<null | number>

The fixed magnetic course, in degrees, of the reference localizer. Only available if the reference is a localizer.

Implementation of

NavIndicator.localizerCourse

Inherited from

AbstractNavBase.localizerCourse

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:95


location

Readonly location: ComputedSubject<null | LatLonInterface, null | GeoPointInterface>

The location of the reference position.

Implementation of

NavIndicator.location

Inherited from

AbstractNavBase.location

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:106


Protected Readonly navSources: NavSources<SourceName>

The possible nav sources from which this indicator can derive data.

Defined in

src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:38


signalStrength

Readonly signalStrength: Subject<null | number>

Signal strength received from the reference. A value of zero indicates no signal.

Implementation of

NavIndicator.signalStrength

Inherited from

AbstractNavBase.signalStrength

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:83


source

Readonly source: Subscribable<null | NavSource<SourceName>>

This indicator's source.

Implementation of

NavIndicator.source

Defined in

src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:29


sourceSubs

Protected Readonly sourceSubs: Subscription[] = []

Defined in

src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:31


toFrom

Readonly toFrom: Subject<null | VorToFrom>

Whether the airplane is heading TO or FROM the reference position as judged from the reference course.

Implementation of

NavIndicator.toFrom

Inherited from

AbstractNavBase.toFrom

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:141


verticalDeviation

Readonly verticalDeviation: Subject<null | number>

Vertical deviation from the reference vertical path profile scaled such that a value of +/-1 is equal to full- scale VDI deflection (i.e. the verticalDeviationScaling value). Positive values indicate upward deflection of the VDI (i.e. the airplane is situated below the reference).

Implementation of

NavIndicator.verticalDeviation

Inherited from

AbstractNavBase.verticalDeviation

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:153


verticalDeviationScale

Readonly verticalDeviationScale: Subject<null | number>

The magnitude of full-scale VDI deflection, in feet.

Implementation of

NavIndicator.verticalDeviationScale

Inherited from

AbstractNavBase.verticalDeviationScale

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:156

Methods

clearAll

clearAll(): void

Sets all fields to null.

Returns

void

Inherited from

AbstractNavBase.clearAll

Defined in

src/garminsdk/navreference/NavReferenceBase.ts:183


setSource

setSource(sourceName): void

Sets this indicator's source. Once the source is set, this indicator's data will be derived from the new source. If the new source is null, all of this indicator's data will be set to null.

Parameters

NameTypeDescription
sourceNamenull | SourceNameThe name of a nav source.

Returns

void

Implementation of

NavIndicator.setSource

Defined in

src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:44


updateFromSource

updateFromSource(newSource, oldSource): void

Updates this nav indicator from a new source.

Parameters

NameTypeDescription
newSourcenull | NavSource<SourceName>The new nav source.
oldSourcenull | NavSource<SourceName>The old nav source.

Returns

void

Defined in

src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:63