Skip to content

ui/map/aircraft/AircraftCreationManager

Classes

AircraftCreationManager

Defined in: ui/map/aircraft/AircraftCreationManager.ts:37

AircraftCreationManager - Manages map-based aircraft creation

Owns the map drawing state machine: click to place the aircraft, move/click again to set the heading, then issue the CRE command. The Create Aircraft modal itself (validation, units, autocomplete, manual-mode CRE generation) lives in AircraftCreationForm, which hands validated form data to this manager when map mode starts.

Constructors

Constructor
new AircraftCreationManager(mapDisplay, navaidSnapper): AircraftCreationManager;

Defined in: ui/map/aircraft/AircraftCreationManager.ts:52

Parameters
mapDisplay

MapDisplay

NavaidSnapper

Returns

AircraftCreationManager

Methods

showModal()
showModal(): void;

Defined in: ui/map/aircraft/AircraftCreationManager.ts:61

Show the aircraft creation modal

Returns

void

destroy()
destroy(): void;

Defined in: ui/map/aircraft/AircraftCreationManager.ts:91

Cancel any in-progress draw and release map/document handlers. Called from App.cleanup() at page teardown.

Returns

void