Skip to main content

Class: FlightPathVectorPatternRenderer

Renders flight path vectors as repeating patterns.

Constructors

constructor

new FlightPathVectorPatternRenderer(): FlightPathVectorPatternRenderer

Returns

FlightPathVectorPatternRenderer

Methods

render

render(vector, context, streamStack, pattern, continuePath?): void

Renders a flight path vector to a canvas.

Parameters

NameTypeDefault valueDescription
vectorCircleVectorundefinedThe flight path vector to render.
contextCanvasRenderingContext2DundefinedThe canvas 2D rendering context to which to render.
streamStackGeoProjectionPathStreamStackundefinedThe path stream to which to render.
patternPathPatternundefinedThe pattern to render.
continuePathbooleanfalseWhether to continue the previously rendered path. If true, a discontinuity in the rendered path will not be inserted before the vector is rendered. This may lead to undesired artifacts if the previously rendered path does not terminate at the point where the projected vector starts. Defaults to false.

Returns

void

Defined in

src/sdk/components/map/FlightPathVectorPatternRenderer.ts:25