ui/map/aircraft/AircraftRouteRenderer¶
Classes¶
AircraftRouteRenderer¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:32
AircraftRouteRenderer - MapLibre rendering for aircraft routes: layer and source management, GeoJSON feature building, waypoint label placement and constraint formatting. Separated from AircraftRoutes to keep rendering concerns isolated.
Constructors¶
Constructor¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:50
Parameters¶
map¶
Map$1
displayOptions¶
Returns¶
Methods¶
setupLayers()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:59
Set up route sources and layers on the map. Should be called after map style loads or changes.
Returns¶
void
buildRouteFeatures()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:185
Build GeoJSON features for route visualization
Parameters¶
data¶
Route data from server
activeWaypointIndex¶
number
Index of active waypoint
Returns¶
Object containing all feature collections
updateMapSources()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:347
Update map sources with route features
Parameters¶
features¶
showLabels¶
boolean
Returns¶
void
clearRouteDisplay()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:358
Clear all route display from map
Returns¶
void
updateRouteLinesVisibility()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:364
Parameters¶
showRoutes¶
boolean
showRouteLines¶
boolean
Returns¶
void
updateRouteLabelsVisibility()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:371
Parameters¶
showRoutes¶
boolean
showRouteLabels¶
boolean
Returns¶
void
updateRoutePointsVisibility()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:375
Parameters¶
showRoutes¶
boolean
showRoutePoints¶
boolean
Returns¶
void
updateRouteColors()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:382
Update route colors from display options
Parameters¶
displayOptions¶
Returns¶
void
updateLabelSize()¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:406
Update label text size
Parameters¶
size¶
number
Returns¶
void
Interfaces¶
RouteFeatureSets¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:18
GeoJSON feature collections produced by buildRouteFeatures and consumed by updateMapSources, one array per route map source.
Properties¶
completeRouteFeatures¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:19
aircraftToActiveFeatures¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:20
remainingRouteFeatures¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:21
waypointFeatures¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:22
labelFeatures¶
Defined in: ui/map/aircraft/AircraftRouteRenderer.ts:23