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()
staticrenderOrder():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()
staticselectRenderer(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
| Parameter | Type | Description |
|---|---|---|
gduFormat | GduFormat | The format of the map's parent GDU. |
airspace | LodBoundary | The airspace to render. |
Returns
The renderer to use to render the specified airspace.