Skip to main content

Class: AirportWaypoint

Defined in: src/garminsdk/navigation/AirportWaypoint.ts:15

A waypoint associated with an airport.

Extends​

  • BasicFacilityWaypoint<AirportFacility>

Constructors​

Constructor​

new AirportWaypoint(airport, bus): AirportWaypoint

Defined in: src/garminsdk/navigation/AirportWaypoint.ts:27

Constructor.

Parameters​

ParameterTypeDescription
airportAirportFacilityThe airport associated with this waypoint.
busEventBusThe event bus.

Returns​

AirportWaypoint

Overrides​

BasicFacilityWaypoint<AirportFacility>.constructor

Properties​

isFacilityWaypoint​

readonly isFacilityWaypoint: true = true

Defined in: src/sdk/navigation/Waypoint.ts:133

Inherit Doc​

Inherited from​

BasicFacilityWaypoint.isFacilityWaypoint


longestRunway​

readonly longestRunway: null | AirportRunway

Defined in: src/garminsdk/navigation/AirportWaypoint.ts:17

The longest runway at the airport associated with this waypoint, or null if the airport has no runways.


size​

readonly size: AirportSize

Defined in: src/garminsdk/navigation/AirportWaypoint.ts:20

The size of the airport associated with this waypoint.

Accessors​

facility​

Get Signature​

get facility(): Subscribable<T>

Defined in: src/sdk/navigation/Waypoint.ts:187

The facility associated with this waypoint.

Returns​

Subscribable<T>

Inherited from​

BasicFacilityWaypoint.facility


location​

Get Signature​

get location(): Subscribable<GeoPointInterface>

Defined in: src/sdk/navigation/Waypoint.ts:169

Inherit Doc​
Returns​

Subscribable<GeoPointInterface>

Inherited from​

BasicFacilityWaypoint.location


type​

Get Signature​

get type(): string

Defined in: src/sdk/navigation/Waypoint.ts:179

Inherit Doc​
Returns​

string

Inherited from​

BasicFacilityWaypoint.type


uid​

Get Signature​

get uid(): string

Defined in: src/sdk/navigation/Waypoint.ts:174

Inherit Doc​
Returns​

string

Inherited from​

BasicFacilityWaypoint.uid

Methods​

equals()​

equals(other): boolean

Defined in: src/sdk/navigation/Waypoint.ts:57

Checks whether this waypoint and another are equal.

Parameters​

ParameterTypeDescription
otherWaypointThe other waypoint.

Returns​

boolean

whether this waypoint and the other are equal.

Inherited from​

BasicFacilityWaypoint.equals