Skip to main content

Class: FlightPathWaypoint

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

A flight path waypoint.

Extends

Constructors

Constructor

new FlightPathWaypoint(lat, lon, leg, uid, ident): FlightPathWaypoint

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

Constructor.

Parameters

ParameterTypeDescription
latnumberThe latitude of this waypoint.
lonnumberThe longitude of this waypoint.
legLegDefinitionThe flight plan leg associated with this waypoint.
uidstringThis waypoint's UID, which will be prefixed with FlightPathWaypoint.UID_PREFIX.
identstringThe ident string of this waypoint.

Returns

FlightPathWaypoint

Overrides

AbstractWaypoint.constructor

Constructor

new FlightPathWaypoint(location, leg, uid, ident): FlightPathWaypoint

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

Constructor.

Parameters

ParameterTypeDescription
locationSubscribable<GeoPointInterface>A subscribable which provides the location of this waypoint.
legLegDefinitionThe flight plan leg associated with this waypoint.
uidstringThis waypoint's UID, which will be prefixed with FlightPathWaypoint.UID_PREFIX.
identstringThe ident string of this waypoint.

Returns

FlightPathWaypoint

Overrides

AbstractWaypoint.constructor

Properties

ident

readonly ident: string

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

The ident string of this waypoint.


leg

readonly leg: LegDefinition

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

The flight plan leg associated with this waypoint.


UID_PREFIX

readonly static UID_PREFIX: "FLPTH" = 'FLPTH'

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

Accessors

location

Get Signature

get location(): Subscribable<GeoPointInterface>

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

The geographic location of the waypoint.

Returns

Subscribable<GeoPointInterface>

The geographic location of the waypoint.

Overrides

AbstractWaypoint.location


type

Get Signature

get type(): string

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

The unique string type of this waypoint.

Returns

string

The unique string type of this waypoint.

Overrides

AbstractWaypoint.type


uid

Get Signature

get uid(): string

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

A unique string ID assigned to this waypoint.

Returns

string

A unique string ID assigned to this waypoint.

Overrides

AbstractWaypoint.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

AbstractWaypoint.equals