Class: FlightPathWaypoint
Defined in: src/sdk/navigation/Waypoint.ts:250
A flight path waypoint.
Extends
Constructors
Constructor
new FlightPathWaypoint(
lat,lon,leg,uid,ident):FlightPathWaypoint
Defined in: src/sdk/navigation/Waypoint.ts:283
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
lat | number | The latitude of this waypoint. |
lon | number | The longitude of this waypoint. |
leg | LegDefinition | The flight plan leg associated with this waypoint. |
uid | string | This waypoint's UID, which will be prefixed with FlightPathWaypoint.UID_PREFIX. |
ident | string | The ident string of this waypoint. |
Returns
FlightPathWaypoint
Overrides
Constructor
new FlightPathWaypoint(
location,leg,uid,ident):FlightPathWaypoint
Defined in: src/sdk/navigation/Waypoint.ts:291
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
location | Subscribable<GeoPointInterface> | A subscribable which provides the location of this waypoint. |
leg | LegDefinition | The flight plan leg associated with this waypoint. |
uid | string | This waypoint's UID, which will be prefixed with FlightPathWaypoint.UID_PREFIX. |
ident | string | The ident string of this waypoint. |
Returns
FlightPathWaypoint
Overrides
AbstractWaypoint.constructor
Properties
ident
readonlyident:string
Defined in: src/sdk/navigation/Waypoint.ts:254
The ident string of this waypoint.
leg
readonlyleg:LegDefinition
Defined in: src/sdk/navigation/Waypoint.ts:257
The flight plan leg associated with this waypoint.
UID_PREFIX
readonlystaticUID_PREFIX:"FLPTH"='FLPTH'
Defined in: src/sdk/navigation/Waypoint.ts:251
Accessors
location
Get Signature
get location():
Subscribable<GeoPointInterface>
Defined in: src/sdk/navigation/Waypoint.ts:263
The geographic location of the waypoint.
Returns
Subscribable<GeoPointInterface>
The geographic location of the waypoint.
Overrides
type
Get Signature
get type():
string
Defined in: src/sdk/navigation/Waypoint.ts:273
The unique string type of this waypoint.
Returns
string
The unique string type of this waypoint.
Overrides
uid
Get Signature
get uid():
string
Defined in: src/sdk/navigation/Waypoint.ts:268
A unique string ID assigned to this waypoint.
Returns
string
A unique string ID assigned to this waypoint.
Overrides
Methods
equals()
equals(
other):boolean
Defined in: src/sdk/navigation/Waypoint.ts:59
Checks whether this waypoint and another are equal.
Parameters
| Parameter | Type | Description |
|---|---|---|
other | Waypoint | The other waypoint. |
Returns
boolean
whether this waypoint and the other are equal.