Skip to main content

Interface: AirportFacility

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

An airport facility from the simulator.

Extends

Properties

airportClass

readonly airportClass: number

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

The class of the airport.


airportPrivateType

readonly airportPrivateType: AirportPrivateType

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

The privacy type of this airport.


airspaceType

readonly airspaceType: number

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

The type of airspace for the airport.


altitude

readonly altitude: number

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

The airport altitude in metres.


approaches

readonly approaches: readonly ApproachProcedure[]

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

The approach procedures on the airport.


arrivals

readonly arrivals: readonly Procedure[]

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

The arrival procedures on the airport.


bestApproach

readonly bestApproach: string

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

The name of the preferred airport approach.


city

readonly city: string

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

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:702

The departure procedures on the airport.


frequencies

readonly frequencies: readonly FacilityFrequency[]

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

The frequencies available on the airport.


fuel1

readonly fuel1: string

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

The primary fuel available at this airport.


fuel2

readonly fuel2: string

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

The secondary fuel available at this airport.


holdingPatterns

readonly holdingPatterns: FacilityHoldingPattern[]

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

Terminal area holding patterns at the airport.


iata

readonly iata: string

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

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:639

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:642

The FS ICAO for this facility.

Inherited from

Facility.icaoStruct


lat

readonly lat: number

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

The latitude of the facility.

Inherited from

Facility.lat


loadedDataFlags

readonly loadedDataFlags: number

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

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


lon

readonly lon: number

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

The longitude of the facility.

Inherited from

Facility.lon


magvar

readonly magvar: number

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

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


name

readonly name: string

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

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:684

Whether or not the airport has radar coverage.


region

readonly region: string

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

The region code in which this facility appears.

Inherited from

Facility.region


runways

readonly runways: AirportRunway[]

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

The runways available on the airport.


towered

readonly towered: boolean

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

Whether or not the airport is towered.


transitionAlt

readonly transitionAlt: number

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

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


transitionLevel

readonly transitionLevel: number

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

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