Skip to main content

Class: FlightPathWaypoint

A flight path waypoint.

Hierarchy

Constructors

constructor

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

Constructor.

Parameters

NameTypeDescription
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

Defined in

src/sdk/navigation/Waypoint.ts:281

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

Constructor.

Parameters

NameTypeDescription
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

Defined in

src/sdk/navigation/Waypoint.ts:289

Properties

ident

Readonly ident: string

The ident string of this waypoint.

Defined in

src/sdk/navigation/Waypoint.ts:252


leg

Readonly leg: LegDefinition

The flight plan leg associated with this waypoint.

Defined in

src/sdk/navigation/Waypoint.ts:255


UID_PREFIX

Static Readonly UID_PREFIX: "FLPTH"

Defined in

src/sdk/navigation/Waypoint.ts:249

Accessors

location

get location(): Subscribable<GeoPointInterface>

The geographic location of the waypoint.

Returns

Subscribable<GeoPointInterface>

Overrides

AbstractWaypoint.location

Defined in

src/sdk/navigation/Waypoint.ts:261


type

get type(): string

The unique string type of this waypoint.

Returns

string

Overrides

AbstractWaypoint.type

Defined in

src/sdk/navigation/Waypoint.ts:271


uid

get uid(): string

A unique string ID assigned to this waypoint.

Returns

string

Overrides

AbstractWaypoint.uid

Defined in

src/sdk/navigation/Waypoint.ts:266

Methods

equals

equals(other): boolean

Checks whether this waypoint and another are equal.

Parameters

NameTypeDescription
otherWaypointThe other waypoint.

Returns

boolean

whether this waypoint and the other are equal.

Inherited from

AbstractWaypoint.equals

Defined in

src/sdk/navigation/Waypoint.ts:57