Draw scene data packs through the draw port and take their geometry and presentation off the Cesium list

Pack points, lines, polygons, image overlays and media markers are draw
sets now, one per pack resource and kind. Feature picks match the click's
draw hit by set and item id, and item ids are namespaced so code that reads
a bare pick id never takes a pack feature for a live contact. An image pack
draws its decoded pixels from a canvas: the Cesium draw port now fills
unclamped shapes with images, as the contract's fills allow, and frees
their materials with the set. The ./scenes export joins the entries whose
caller loads the unbound renderer factories.
This commit is contained in:
Sameh Khamis committed 2026-11-07 05:29:57 -08:00
1 parent dbf1647572
commit 71ff682c7f
9 files changed
+526 -175

No files matched your search

+3 -4
View File
@@ -84,6 +84,9 @@ const DRAW_FROM_CALLER = new Set([
'./layers/street-level/kartaview',
'./layers/street-level/panoramax',
'./layers/air-quality',
// Its data packs draw through `drawOf`; its flights ask `cameraOf`, which
// throws until then too.
'./scenes',
// Asks `findQuery` instead, and answers null rather than throw until the
// caller has loaded the factory.
'./queries/heights',
@@ -96,10 +99,6 @@ const DRAW_FROM_CALLER = new Set([
* `./render/cesium/unbound`.
*/
const CAMERA_FROM_CALLER = new Set([
// Not Cesium-free yet: its data packs still draw through Cesium in their
// own listed modules. Its flights ask `cameraOf`, which throws until the
// caller has loaded the export.
'./scenes',
'./ui/navigation',
'./voice/commands',
'./voice/controller',