Skip to main content

Class: NullAirspaceRenderer

An airspace renderer which does not draw any graphics.

Implements

Constructors

constructor

new NullAirspaceRenderer(): NullAirspaceRenderer

Returns

NullAirspaceRenderer

Methods

render

render(airspace, projection, context, lod?, stream?): void

Renders an airspace to canvas.

Parameters

NameTypeDefault valueDescription
airspaceLodBoundaryundefinedThe airspace to render.
projectionGeoProjectionundefinedThe projection to use when rendering.
contextCanvasRenderingContext2DundefinedThe canvas rendering context to which to render.
lodnumber0The LOD to render. Defaults to 0.
stream?PathStreamundefinedThe path stream to which to render. If undefined, the path will be rendered directly to the canvas rendering context.

Returns

void

Implementation of

MapAirspaceRenderer.render

Defined in

src/sdk/components/map/MapAirspaceRenderer.ts:27