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): GarminChartsPageData | undefined

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

GarminChartsPageData | undefined

The primary airport diagram chart page from the specified array, or undefined if no such page could be found.


getApproachPage()

static getApproachPage(pages, approachIdentifier): GarminChartsPageData | undefined

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

GarminChartsPageData | undefined

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): GarminChartsPageData | undefined

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

GarminChartsPageData | undefined

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): GarminChartsPageData | undefined

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

GarminChartsPageData | undefined

The primary chart page associated with the specified departure procedure from the specified array, or undefined if no such page could be found.