Class: GarminFaaChartsUtils
Defined in: src/garminsdk/charts/GarminFaaChartsUtils.ts:8
A utility class for working with FAA charts in a Garmin context.
Constructors
Constructor
new GarminFaaChartsUtils():
GarminFaaChartsUtils
Returns
GarminFaaChartsUtils
Methods
getAirportDiagramPage()
staticgetAirportDiagramPage(pages):undefined|GarminChartsPageData
Defined in: src/garminsdk/charts/GarminFaaChartsUtils.ts:18
Gets the primary airport diagram chart page from among an array of pages.
Parameters
| Parameter | Type | Description |
|---|---|---|
pages | readonly GarminChartsPageData[] | The chart pages from which to choose. |
Returns
undefined | GarminChartsPageData
The primary airport diagram chart page from the specified array, or undefined if no such page could be
found.
getApproachPage()
staticgetApproachPage(pages,approachIdentifier):undefined|GarminChartsPageData
Defined in: src/garminsdk/charts/GarminFaaChartsUtils.ts:139
Gets the primary chart page associated with an approach procedure from among an array of pages.
Parameters
| Parameter | Type | Description |
|---|---|---|
pages | readonly GarminChartsPageData[] | The chart pages from which to choose. |
approachIdentifier | Readonly<ApproachIdentifier> | The identifier for the approach procedure. |
Returns
undefined | GarminChartsPageData
The primary chart page associated with the specified approach procedure from the specified array, or
undefined if no such page could be found.
getArrivalPage()
staticgetArrivalPage(pages,arrivalName):undefined|GarminChartsPageData
Defined in: src/garminsdk/charts/GarminFaaChartsUtils.ts:59
Gets the primary chart page associated with an arrival procedure from among an array of pages.
Parameters
| Parameter | Type | Description |
|---|---|---|
pages | readonly GarminChartsPageData[] | The chart pages from which to choose. |
arrivalName | string | The name of the arrival procedure. |
Returns
undefined | GarminChartsPageData
The primary chart page associated with the specified arrival procedure from the specified array, or
undefined if no such page could be found.
getDeparturePage()
staticgetDeparturePage(pages,departureName):undefined|GarminChartsPageData
Defined in: src/garminsdk/charts/GarminFaaChartsUtils.ts:45
Gets the primary chart page associated with a departure procedure from among an array of pages.
Parameters
| Parameter | Type | Description |
|---|---|---|
pages | readonly GarminChartsPageData[] | The chart pages from which to choose. |
departureName | string | The name of the departure procedure. |
Returns
undefined | GarminChartsPageData
The primary chart page associated with the specified departure procedure from the specified array, or
undefined if no such page could be found.