Skip to main content

Class: FlightPathWaypoint

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

A flight path waypoint.

Extends​

Constructors​

Constructor​

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

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

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

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

The ident string of this waypoint.


leg​

readonly leg: LegDefinition

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

The flight plan leg associated with this waypoint.


UID_PREFIX​

readonly static UID_PREFIX: "FLPTH" = 'FLPTH'

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

Accessors​

location​

Get Signature​

get location(): Subscribable<GeoPointInterface>

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

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

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

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

AbstractWaypoint.equals