Draw directions through the draw port

The directions layer draws its endpoint markers, its flowing route and
its maneuver dots through draw-port sets, takes clicks from the draw hit
and ground picks from the click's ground position, and leaves the Cesium
allow-list. The route keeps the annotation's flowing dashes, draped on
terrain and tiles; the maneuver dots keep their place in the sprite
order through the steps set.
This commit is contained in:
Sameh Khamis committed 2026-11-07 05:42:26 -08:00
1 parent d18fae43c2
commit 9de93b8d31
8 files changed
+361 -180

No files matched your search

+5 -9
View File
@@ -4,20 +4,18 @@ import { createDirectionsSource } from '../layers/directions/source.js';
* @description Service bundle for the Directions layer.
*
* The layer itself lives in `src/layers/directions/`, which imports nothing
* but Cesium and the pure step formatter. This module is the one place that
* names the application's shared services — the render governor, sprite order,
* the pick registry, the world overlay, the annotation material, the camera
* verbs, the shared ground floor and the pointer arbiter — and it re-exports
* the layer's pure helpers for the tests and the share-link code.
* but the renderer's draw port, geodesy and the pure step formatter. This
* module is the one place that names the application's shared services —
* the render governor, sprite order, the pick registry, the world overlay,
* the camera verbs, the shared ground floor and the pointer arbiter — and it
* re-exports the layer's pure helpers for the tests and the share-link code.
*/
import * as credits from './dataCredits.js';
import * as render from '../renderGovernor.js';
import * as sprites from './spriteOrder.js';
import * as picking from './pickRegistry.js';
import * as scenePick from './scenePick.js';
import * as overlays from '../overlays/worldOverlay.js';
import * as annotations from '../annotations/worldAnnotationRenderer.js';
import * as camera from '../cameraVerbs.js';
import * as ground from './groundFloor.js';
import * as input from './inputOwnership.js';
@@ -29,9 +27,7 @@ const directionsServices = Object.freeze({
render,
sprites,
picking,
scenePick,
overlays,
annotations,
camera,
ground,
input,