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
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:289
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
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
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
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
Methods
equals()
equals(
other
):boolean
Defined in: src/sdk/navigation/Waypoint.ts:57
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.