Skip to main content

Type Alias: LegStyleHandler()

LegStyleHandler = (plan, leg, activeLeg, legIndex, activeLegIndex) => FlightPathRenderStyle | FlightPathVectorStyle

Defined in: src/sdk/components/mapsystem/MapSystemPlanRenderer.ts:17

A handler that takes some leg data and returns the appropriate flight path rendering style.

Parameters

ParameterType
planFlightPlan
legLegDefinition
activeLegLegDefinition | undefined
legIndexnumber
activeLegIndexnumber

Returns

FlightPathRenderStyle | FlightPathVectorStyle