ui/map/aircraft/AircraftShapes¶
Variables¶
drawChevronShape¶
Defined in: ui/map/aircraft/AircraftShapes.ts:14
Chevron shape (default) ATC-style chevron with a tail notch, proportional to canvas size.
drawTriangleShape¶
Defined in: ui/map/aircraft/AircraftShapes.ts:32
Simple triangle shape Basic triangle pointing upward - proportional to canvas size
drawAircraftShape¶
Defined in: ui/map/aircraft/AircraftShapes.ts:48
Aircraft silhouette with wings Simple but recognizable airplane shape with fuselage, wings, and tail
drawDroneShape¶
Defined in: ui/map/aircraft/AircraftShapes.ts:115
Drone shape with rotors Quadcopter with central body, four rotors in X configuration, and directional indicator
AIRCRAFT_SHAPES¶
Defined in: ui/map/aircraft/AircraftShapes.ts:199
Available aircraft shapes with display names.
Keys must stay in sync with AircraftShapeType in data/types.ts
(guarded by AircraftShapes.test.ts).
Type Declaration¶
chevron¶
chevron.name¶
chevron.drawer¶
triangle¶
triangle.name¶
triangle.drawer¶
aircraft¶
aircraft.name¶
aircraft.drawer¶
drone¶
drone.name¶
drone.drawer¶
Functions¶
getShapeDrawer()¶
Defined in: ui/map/aircraft/AircraftShapes.ts:210
Look up the drawer for a shape type, falling back to the chevron for unknown values (e.g. a stale setting from an older build).
Parameters¶
shapeType¶
string