Skip to main content

Interface: NavReferenceIndicators<SourceName, IndicatorName>

A collection of NavReferenceIndicators.

Type parameters

NameTypeDescription
SourceNameextends stringThe names of the nav sources supported by the nav indicators contained in the collection.
IndicatorNameextends stringThe names of the nav indicators contained in the collection.

Implemented by

Methods

get

get(name): NavReferenceIndicator<SourceName>

Gets a nav indicator with a given name.

Parameters

NameTypeDescription
nameIndicatorNameThe name of the indicator to get.

Returns

NavReferenceIndicator<SourceName>

The specified nav indicator.

Throws

Error if an indicator with the specified name could not be found.

Defined in

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