Class: MapSystemDefaultSharedFlightPlanWaypointFactory
Defined in: src/sdk/components/mapsystem/layers/MapSystemSharedFlightPlanLayer.tsx:573
A default implementation of MapSystemSharedFlightPlanWaypointFactory. For flight plan legs that terminate at a facility fix, this factory provides FacilityWaypoints from a cache. For flight plan legs that terminate at a floating fix, this factory provides FlightPathWaypoints with idents equal to the legs' names.
Implements
Constructors
Constructor
new MapSystemDefaultSharedFlightPlanWaypointFactory(
facWaypointCache):MapSystemDefaultSharedFlightPlanWaypointFactory
Defined in: src/sdk/components/mapsystem/layers/MapSystemSharedFlightPlanLayer.tsx:578
Creates a new instance of MapSystemDefaultSharedFlightPlanWaypointFactory.
Parameters
| Parameter | Type | Description |
|---|---|---|
facWaypointCache | FacilityWaypointCache | The cache from which this factory retrieves facility waypoints. |
Returns
MapSystemDefaultSharedFlightPlanWaypointFactory
Methods
buildFacilityFixWaypoint()
buildFacilityFixWaypoint(
leg,facility):FacilityWaypoint
Defined in: src/sdk/components/mapsystem/layers/MapSystemSharedFlightPlanLayer.tsx:582
Builds a waypoint for a flight plan leg that terminates at a facility fix.
Parameters
| Parameter | Type | Description |
|---|---|---|
leg | LegDefinition | The flight plan leg. |
facility | Facility | The facility at which the leg terminates. |
Returns
A waypoint for the specified flight plan leg.
Implementation of
MapSystemSharedFlightPlanWaypointFactory.buildFacilityFixWaypoint
buildFloatingFixWaypoint()
buildFloatingFixWaypoint(
leg,location):FlightPathWaypoint
Defined in: src/sdk/components/mapsystem/layers/MapSystemSharedFlightPlanLayer.tsx:587
Builds a waypoint for a flight plan leg that terminates at a floating fix.
Parameters
| Parameter | Type | Description |
|---|---|---|
leg | LegDefinition | The flight plan leg. |
location | Subscribable<GeoPointInterface> | The location of the floating fix. |
Returns
A waypoint for the specified flight plan leg.
Implementation of
MapSystemSharedFlightPlanWaypointFactory.buildFloatingFixWaypoint