Interface: NavReferenceIndicators<SourceName, IndicatorName>
Defined in: src/garminsdk/navreference/indicator/NavReferenceIndicator.ts:82
A collection of NavReferenceIndicators.
Type Parameters
| Type Parameter | Description |
|---|---|
SourceName extends string | The names of the nav sources supported by the nav indicators contained in the collection. |
IndicatorName extends string | The 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
| Parameter | Type | Description |
|---|---|---|
name | IndicatorName | The 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.