Skip to main content

Type Alias: FlightPathLegPatternStyleSelector()<Args>

FlightPathLegPatternStyleSelector<Args> = (vector, isIngress, isEgress, leg, projection, out, ...args) => FlightPathLegPatternStyle

Defined in: src/sdk/components/map/FlightPathLegPatternRenderer.ts:30

A function which selects a pattern 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.
outFlightPathLegPatternStyleThe pattern style object to which to write the selected style.
...argsArgsAdditional arguments.

Returns

FlightPathLegPatternStyle

The selected pattern style for the vector.