Skip to main content

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()

static getAirportDiagramPage(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

ParameterTypeDescription
pagesreadonly 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()

static getApproachPage(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

ParameterTypeDescription
pagesreadonly GarminChartsPageData[]The chart pages from which to choose.
approachIdentifierReadonly<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()

static getArrivalPage(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

ParameterTypeDescription
pagesreadonly GarminChartsPageData[]The chart pages from which to choose.
arrivalNamestringThe 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()

static getDeparturePage(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

ParameterTypeDescription
pagesreadonly GarminChartsPageData[]The chart pages from which to choose.
departureNamestringThe 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.