Expose scoped domain geometry in the existing Cesium renderer

This commit is contained in:
Codex
2026-11-16 15:23:12 +03:00
parent f8aa8022f1
commit f4e7369eec
7 changed files with 39 additions and 3 deletions
+17
View File
@@ -319,3 +319,20 @@ Data Plane, а не Map Template.
факте для quality/diagnostics, но не образуют дополнительные UI-фильтры. Цвет,
геометрия таргета, label и порядок фильтров остаются в Foundry presentation
profile.
## Domain geometry in the existing renderer
`@nodedc/map-cesium-react` 0.1.1 adds optional `onSceneReady(context)`;
CesiumJS remains pinned to **1.143.0**. Existing consumers need no changes.
`context` contains the existing `Cesium` namespace, renderer-owned `viewer`,
and an abort `signal`. A consumer can attach ready domain geometry, pick
objects and move the camera, returning synchronous cleanup for its own
entities, primitives and listeners. Cleanup runs after abort and before
viewer destruction, including provider toggles and renderer recovery.
Asynchronous work must check the signal before attaching anything.
The callback must not create another Viewer, replace providers, introduce
upstream credentials, or bypass the same-origin runtime/Map Gateway. Prepared
BIM mesh residency, product leases, geometry budgets and project placement
belong to the portable BIM consumer. The shared adapter retains sole ownership
of imagery, terrain, buildings, network/cache intent and render recovery.