Skip to content

ui/map/aircraft/AircraftRoute3DRenderer

Classes

AircraftRoute3DRenderer

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:25

3D aircraft route renderer using Three.js.

Renders the selected aircraft's route as elevated line segments and waypoint spheres in the 3D scene so the route visually aligns with the 3D aircraft's altitude.

Altitude rule per segment endpoint: - If wpalt[i] > 0: use that constraint altitude (meters) - Otherwise: use the aircraft's current altitude

NOTE: v1 uses scene-relative mercator positioning only. In globe projection the geometry is hidden rather than misprojected; real globe support is a known follow-up (would need per-vertex getMatrixForModel).

Constructors

Constructor
new AircraftRoute3DRenderer(displayOptions): AircraftRoute3DRenderer;

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:30

Parameters
displayOptions

DisplayOptions

Returns

AircraftRoute3DRenderer

Methods

initialize()
initialize(map): void;

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:35

Parameters
map

Map$1

Returns

void

updateRouteData()
updateRouteData(data): void;

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:67

Parameters
data

RouteData | null

Returns

void

setSelectedAircraft()
setSelectedAircraft(aircraftId): void;

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:71

Parameters
aircraftId

string | null

Returns

void

setAircraftState()
setAircraftState(
   lat, 
   lon, 
   alt): void;

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:75

Parameters
lat

number

lon

number

alt

number

Returns

void

updateDisplayOptions()
updateDisplayOptions(options): void;

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:79

Parameters
options

DisplayOptions

Returns

void

onStyleChange()
onStyleChange(): void;

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:84

Returns

void

destroy()
destroy(): void;

Defined in: ui/map/aircraft/AircraftRoute3DRenderer.ts:115

Returns

void