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
Name | Type | Default value | Description |
---|---|---|---|
vector | CircleVector | undefined | The flight path vector to render. |
context | CanvasRenderingContext2D | undefined | The canvas 2D rendering context to which to render. |
streamStack | GeoProjectionPathStreamStack | undefined | The path stream to which to render. |
pattern | PathPattern | undefined | The pattern to render. |
continuePath | boolean | false | Whether 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