Skip to main content

Type Alias: FlightPathLegLineStyleSelector()<Args>

FlightPathLegLineStyleSelector<Args> = (vector, isIngress, isEgress, leg, projection, out, ...args) => FlightPathLegLineStyle

Defined in: src/sdk/components/map/FlightPathLegLineRenderer.ts:44

A function which selects a line style for a rendered vector.

Type Parameters

Type Parameter
Args extends any[]

Parameters

ParameterTypeDescription
vectorReadonly<FlightPathVector>The vector for which to select a style.
isIngressbooleanWhether the vector is part of the ingress transition.
isEgressbooleanWhether the vector is part of the egress transition.
legLegDefinitionThe flight plan leg containing the vector to render.
projectionGeoProjectionThe map projection to use when rendering.
outFlightPathLegLineStyleThe line style object to which to write the selected style.
...argsArgsAdditional arguments.

Returns

FlightPathLegLineStyle

The selected line style for the vector.