Interface: MapAirspaceRenderer
Defined in: src/sdk/components/map/MapAirspaceRenderer.ts:8
Renders an airspace to canvas.
Methods
render()
render(
airspace,projection,context,lod?,stream?):void
Defined in: src/sdk/components/map/MapAirspaceRenderer.ts:18
Renders an airspace to canvas.
Parameters
| Parameter | Type | Description |
|---|---|---|
airspace | LodBoundary | The airspace to render. |
projection | GeoProjection | The projection to use when rendering. |
context | CanvasRenderingContext2D | The canvas rendering context to which to render. |
lod? | number | The LOD to render. Defaults to 0. |
stream? | PathStream | The path stream to which to render. If undefined, the path will be rendered directly to the canvas rendering context. |
Returns
void