Skip to main content

Interface: NavSources<SourceName>

A collection of NavReferenceSources.

Type parameters

NameTypeDescription
SourceNameextends stringThe names of the navigation reference sources supported by the collection.

Methods

get

get(name): NavSource<SourceName>

Gets a navigation reference source with a given name.

Parameters

NameTypeDescription
nameSourceNameThe name of the source to get.

Returns

NavSource<SourceName>

The specified navigation reference source.

Throws

Error if a source with the specified name could not be found.

Defined in

src/garminsdk/navreference/source/NavReferenceSource.ts:33