Skip to main content

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

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

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

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