Class: Regions
Utility class for working with ICAO region codes in a Garmin context.
Constructors
constructor
• new Regions(): Regions
Returns
Methods
getName
▸ getName(code
): string
Gets the Garmin display name of the region associated with a specified ICAO region code.
Parameters
Name | Type | Description |
---|---|---|
code | string | the 2 character ICAO region code. |
Returns
string
the Garmin display name of the region.
Defined in
src/garminsdk/navigation/Regions.ts:263