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