ui/map/shapes/ShapeRenderer¶
Classes¶
ShapeRenderer¶
Defined in: ui/map/shapes/ShapeRenderer.ts:22
ShapeRenderer - Handles rendering of geographic shapes (polygons, polylines, etc.)
Renders shapes from the simulation: - POLY data (filled polygons like areas, zones, regions) - POLYLINE data (lines like routes, boundaries, paths) - Supports altitude-constrained areas (POLYALT)
Constructors¶
Constructor¶
Defined in: ui/map/shapes/ShapeRenderer.ts:37
Parameters¶
mapDisplay¶
stateManager¶
Returns¶
Methods¶
initialize()¶
Defined in: ui/map/shapes/ShapeRenderer.ts:62
Create map sources/layers and render any shapes that arrived before the map was ready. Safe to re-run after a style change wipes the layers.
Returns¶
void
onStyleChange()¶
Defined in: ui/map/shapes/ShapeRenderer.ts:316
Handle map style changes - re-add layers and re-render.
Returns¶
void
destroy()¶
Defined in: ui/map/shapes/ShapeRenderer.ts:335
Returns¶
void