Skip to main content

Interface: MapAirspaceRenderer

Renders an airspace to canvas.

Implemented by

Methods

render

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

Renders an airspace to canvas.

Parameters

NameTypeDescription
airspaceLodBoundaryThe airspace to render.
projectionGeoProjectionThe projection to use when rendering.
contextCanvasRenderingContext2DThe canvas rendering context to which to render.
lod?numberThe LOD to render. Defaults to 0.
stream?PathStreamThe path stream to which to render. If undefined, the path will be rendered directly to the canvas rendering context.

Returns

void

Defined in

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