Skip to main content

Class: G3XMapAirspaceRendering

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapAirspaceRendering.ts:117

Utility class containing functions defining the rendering behavior of airspaces for G3X Touch maps.

Constructors​

Constructor​

new G3XMapAirspaceRendering(): G3XMapAirspaceRendering

Returns​

G3XMapAirspaceRendering

Methods​

renderOrder()​

static renderOrder(): number

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapAirspaceRendering.ts:145

Determines the rendering order of airspaces for G3X Touch maps.

Returns​

number

The relative rendering order of two airspaces for G3X Touch maps.


selectRenderer()​

static selectRenderer(gduFormat, airspace): MapAirspaceRenderer

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapAirspaceRendering.ts:155

Selects airspace renderers for G3X Touch maps.

Parameters​

ParameterTypeDescription
gduFormatGduFormatThe format of the map's parent GDU.
airspaceLodBoundaryThe airspace to render.

Returns​

MapAirspaceRenderer

The renderer to use to render the specified airspace.