Skip to main content

Interface: AirportFacility

Defined in: src/sdk/navigation/Facilities.ts:676

An airport facility from the simulator.

Extends

Properties

airportClass

readonly airportClass: number

Defined in: src/sdk/navigation/Facilities.ts:700

The class of the airport.


airportPrivateType

readonly airportPrivateType: AirportPrivateType

Defined in: src/sdk/navigation/Facilities.ts:682

The privacy type of this airport.


airspaceType

readonly airspaceType: number

Defined in: src/sdk/navigation/Facilities.ts:697

The type of airspace for the airport.


altitude

readonly altitude: number

Defined in: src/sdk/navigation/Facilities.ts:736

The airport altitude in metres.


approaches

readonly approaches: readonly ApproachProcedure[]

Defined in: src/sdk/navigation/Facilities.ts:715

The approach procedures on the airport.


arrivals

readonly arrivals: readonly Procedure[]

Defined in: src/sdk/navigation/Facilities.ts:718

The arrival procedures on the airport.


bestApproach

readonly bestApproach: string

Defined in: src/sdk/navigation/Facilities.ts:691

The name of the preferred airport approach.


city

readonly city: string

Defined in: src/sdk/navigation/Facilities.ts:670

The city region boundary within which this facility appears, and optionally also the state, separated by , . Both city and state can be localized strings (prefixed with TT:), and will need split before passing to Utils.Translate individually.

Inherited from

Facility.city


departures

readonly departures: readonly Procedure[]

Defined in: src/sdk/navigation/Facilities.ts:712

The departure procedures on the airport.


frequencies

readonly frequencies: readonly FacilityFrequency[]

Defined in: src/sdk/navigation/Facilities.ts:706

The frequencies available on the airport.


fuel1

readonly fuel1: string

Defined in: src/sdk/navigation/Facilities.ts:685

The primary fuel available at this airport.


fuel2

readonly fuel2: string

Defined in: src/sdk/navigation/Facilities.ts:688

The secondary fuel available at this airport.


holdingPatterns

readonly holdingPatterns: FacilityHoldingPattern[]

Defined in: src/sdk/navigation/Facilities.ts:721

Terminal area holding patterns at the airport.


iata

readonly iata: string

Defined in: src/sdk/navigation/Facilities.ts:733

The 3-letter IATA code for the airport, or empty string if not defined.


icao

readonly icao: string

Defined in: src/sdk/navigation/Facilities.ts:649

The FS ICAO for this facility.

Deprecated

Use Facility.icaoStruct.

Inherited from

Facility.icao


icaoStruct

readonly icaoStruct: IcaoValue

Defined in: src/sdk/navigation/Facilities.ts:652

The FS ICAO for this facility.

Inherited from

Facility.icaoStruct


lat

readonly lat: number

Defined in: src/sdk/navigation/Facilities.ts:658

The latitude of the facility.

Inherited from

Facility.lat


loadedDataFlags

readonly loadedDataFlags: number

Defined in: src/sdk/navigation/Facilities.ts:679

Bitflags describing the types of data loaded into this facility object.


lon

readonly lon: number

Defined in: src/sdk/navigation/Facilities.ts:661

The longitude of the facility.

Inherited from

Facility.lon


magvar

readonly magvar: number

Defined in: src/sdk/navigation/Facilities.ts:724

The airport magnetic variation in, degrees [-180, 180), negative being west.


name

readonly name: string

Defined in: src/sdk/navigation/Facilities.ts:655

The name of the facility. Can be a localized string (prefix with TT:) that needs passed to Utils.Translate.

Inherited from

Facility.name


radarCoverage

readonly radarCoverage: GpsBoolean

Defined in: src/sdk/navigation/Facilities.ts:694

Whether or not the airport has radar coverage.


region

readonly region: string

Defined in: src/sdk/navigation/Facilities.ts:664

The region code in which this facility appears.

Inherited from

Facility.region


runways

readonly runways: AirportRunway[]

Defined in: src/sdk/navigation/Facilities.ts:709

The runways available on the airport.


towered

readonly towered: boolean

Defined in: src/sdk/navigation/Facilities.ts:703

Whether or not the airport is towered.


transitionAlt

readonly transitionAlt: number

Defined in: src/sdk/navigation/Facilities.ts:727

The transition altitude in metres, or 0 if not specified.


transitionLevel

readonly transitionLevel: number

Defined in: src/sdk/navigation/Facilities.ts:730

The transition level in metres, or 0 if not specified.