ui/map/aircraft/AircraftRendererFactory¶
Classes¶
AircraftRendererFactory¶
Defined in: ui/map/aircraft/AircraftRendererFactory.ts:14
Factory for creating aircraft renderers.
The 2D renderer is always active; the 3D renderer is an optional overlay that runs alongside it. Three.js is lazy-loaded on first 3D use.
Constructors¶
Constructor¶
Returns¶
Methods¶
create2D()¶
Defined in: ui/map/aircraft/AircraftRendererFactory.ts:16
Create the always-active 2D renderer.
Parameters¶
displayOptions¶
stateManager¶
Returns¶
IEntityRenderer\<AircraftData>
create3D()¶
Defined in: ui/map/aircraft/AircraftRendererFactory.ts:30
Lazy-load and instantiate the 3D overlay renderer.
Returns null when the Three.js chunk fails to load so the caller leaves the overlay off — falling back to a 2D renderer here would duplicate the always-active 2D renderer's fixed map layer/source IDs.
Parameters¶
displayOptions¶
stateManager¶
Returns¶
Promise\<
| IEntityRenderer\<AircraftData>
| null>
createRoute3D()¶
Defined in: ui/map/aircraft/AircraftRendererFactory.ts:47
Lazy-load and instantiate the 3D aircraft route renderer. Reuses the "aircraft-3d" webpack chunk so Three.js is loaded once.
Parameters¶
displayOptions¶
Returns¶
Promise\<
| AircraftRoute3DRenderer
| null>