Skip to main content

Interface: NavReferenceIndicators<SourceName, IndicatorName>

Defined in: src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:82

A collection of NavReferenceIndicators.

Type Parameters​

Type ParameterDescription
SourceName extends stringThe names of the nav sources supported by the nav indicators contained in the collection.
IndicatorName extends stringThe names of the nav indicators contained in the collection.

Methods​

get()​

get(name): NavReferenceIndicator<SourceName>

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

Gets a nav indicator with a given name.

Parameters​

ParameterTypeDescription
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.