Skip to main content

Class: MapSystemDefaultSharedFlightPlanWaypointFactory

Defined in: src/sdk/components/mapsystem/layers/MapSystemSharedFlightPlanLayer.tsx:598

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:603

Creates a new instance of MapSystemDefaultSharedFlightPlanWaypointFactory.

Parameters​

ParameterTypeDescription
facWaypointCacheFacilityWaypointCacheThe 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:607

Builds a waypoint for a flight plan leg that terminates at a facility fix.

Parameters​

ParameterTypeDescription
legLegDefinitionThe flight plan leg.
facilityFacilityThe facility at which the leg terminates.

Returns​

FacilityWaypoint

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:612

Builds a waypoint for a flight plan leg that terminates at a floating fix.

Parameters​

ParameterTypeDescription
legLegDefinitionThe flight plan leg.
locationSubscribable<GeoPointInterface>The location of the floating fix.

Returns​

FlightPathWaypoint

A waypoint for the specified flight plan leg.

Implementation of​

MapSystemSharedFlightPlanWaypointFactory.buildFloatingFixWaypoint