Class: AirportWaypoint
Defined in: workingtitle-instruments-epic2/shared/Map/AirportWaypoint.ts:15
A waypoint associated with an airport.
Extends
Constructors
Constructor
new AirportWaypoint(
airport,bus):AirportWaypoint
Defined in: workingtitle-instruments-epic2/shared/Map/AirportWaypoint.ts:27
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
airport | AirportFacility | The airport associated with this waypoint. |
bus | EventBus | The event bus. |
Returns
AirportWaypoint
Overrides
BasicFacilityWaypoint.constructor
Properties
isFacilityWaypoint
readonlyisFacilityWaypoint:true=true
Defined in: sdk/navigation/Waypoint.ts:135
A flag which marks this waypoint as a FacilityWaypoint.
Inherited from
BasicFacilityWaypoint.isFacilityWaypoint
longestRunway
readonlylongestRunway:null|AirportRunway
Defined in: workingtitle-instruments-epic2/shared/Map/AirportWaypoint.ts:17
The longest runway at the airport associated with this waypoint, or null if the airport has no runways.
size
readonlysize:AirportSize
Defined in: workingtitle-instruments-epic2/shared/Map/AirportWaypoint.ts:20
The size of the airport associated with this waypoint.
Accessors
facility
Get Signature
get facility():
Subscribable<T>
Defined in: sdk/navigation/Waypoint.ts:189
The facility associated with this waypoint.
Returns
Subscribable<T>
The facility associated with this waypoint.
Inherited from
BasicFacilityWaypoint.facility
location
Get Signature
get location():
Subscribable<GeoPointInterface>
Defined in: sdk/navigation/Waypoint.ts:171
The geographic location of the waypoint.
Returns
Subscribable<GeoPointInterface>
The geographic location of the waypoint.
Inherited from
BasicFacilityWaypoint.location
type
Get Signature
get type():
string
Defined in: sdk/navigation/Waypoint.ts:181
The unique string type of this waypoint.
Returns
string
The unique string type of this waypoint.
Inherited from
uid
Get Signature
get uid():
string
Defined in: sdk/navigation/Waypoint.ts:176
A unique string ID assigned to this waypoint.
Returns
string
A unique string ID assigned to this waypoint.
Inherited from
Methods
equals()
equals(
other):boolean
Defined in: 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.