Class: FlightPathWaypoint
A flight path waypoint.
Hierarchy
↳
FlightPathWaypoint
Constructors
constructor
• new FlightPathWaypoint(lat
, lon
, leg
, uid
, ident
): FlightPathWaypoint
Constructor.
Parameters
Name | 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
Overrides
Defined in
src/sdk/navigation/Waypoint.ts:281
• new FlightPathWaypoint(location
, leg
, uid
, ident
): FlightPathWaypoint
Constructor.
Parameters
Name | 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
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
Name | Type | Description |
---|---|---|
other | Waypoint | The other waypoint. |
Returns
boolean
whether this waypoint and the other are equal.
Inherited from
Defined in
src/sdk/navigation/Waypoint.ts:57