Skip to main content

Type Alias: LegWaypointHandler()

LegWaypointHandler = (plan, leg, activeLeg, legIndex, activeLegIndex) => number

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

A handler that takes some leg data and returns the waypoint rendering role that the waypoint should be rendered under.

Parameters

ParameterType
planFlightPlan
legLegDefinition
activeLegLegDefinition | null
legIndexnumber
activeLegIndexnumber

Returns

number