Skip to main content

Class: AirportWaypoint

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

A waypoint associated with an airport.

Extends​

Constructors​

Constructor​

new AirportWaypoint(airport, bus): AirportWaypoint

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

Creates a new instance of AirportWaypoint.

Parameters​

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

Returns​

AirportWaypoint

Overrides​

BasicFacilityWaypoint.constructor

Properties​

isFacilityWaypoint​

readonly isFacilityWaypoint: true = true

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

A flag which marks this waypoint as a FacilityWaypoint.

Inherited from​

BasicFacilityWaypoint.isFacilityWaypoint


longestRunway​

readonly longestRunway: AirportRunway | null

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

The facility associated with this waypoint.

Returns​

Subscribable<T>

The facility associated with this waypoint.

Inherited from​

BasicFacilityWaypoint.facility


location​

Get Signature​

get location(): Subscribable<GeoPointInterface>

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

The geographic location of the waypoint.

Returns​

Subscribable<GeoPointInterface>

The geographic location of the waypoint.

Inherited from​

BasicFacilityWaypoint.location


type​

Get Signature​

get type(): string

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

The unique string type of this waypoint.

Returns​

string

The unique string type of this waypoint.

Inherited from​

BasicFacilityWaypoint.type


uid​

Get Signature​

get uid(): string

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

A unique string ID assigned to this waypoint.

Returns​

string

A unique string ID assigned to this waypoint.

Inherited from​

BasicFacilityWaypoint.uid

Methods​

equals()​

equals(other): boolean

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

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