Skip to main content

Type Alias: MapSystemSharedFlightPlanDefinition

MapSystemSharedFlightPlanDefinition = object

Defined in: src/sdk/components/mapsystem/MapSystemBuilder.tsx:223

A definition describing the display of a flight plan by a shared flight plan layer.

Properties

configure()

configure: (builder, context) => void

Defined in: src/sdk/components/mapsystem/MapSystemBuilder.tsx:235

A function to configure the display of the flight plan.

Parameters

ParameterTypeDescription
builderFlightPlanDisplayBuilderThe builder to use to configure the display of the flight plan.
contextMapSystemContext<{ flightPlan: MapFlightPlanModule; }, any, any, { flightPathRenderer: MapSystemPlanRenderer; iconFactory: MapSystemIconFactory; labelFactory: MapSystemLabelFactory; waypointRenderer: MapSystemWaypointsRenderer; }>The map context.

Returns

void


planIndex

planIndex: number

Defined in: src/sdk/components/mapsystem/MapSystemBuilder.tsx:225

The index of the flight plan to display.


waypointFactory

waypointFactory: MapSystemSharedFlightPlanWaypointFactory

Defined in: src/sdk/components/mapsystem/MapSystemBuilder.tsx:228

A factory from which to get waypoints for flight plan legs to display.