fix: hide handles for unavailable junction structures

This commit is contained in:
que01 committed 2026-09-11 11:37:58 +08:00
1 parent 2b79085042
commit f40caaa264
4 files changed
+24 -4

No files matched your search

+4
View File
@@ -334,6 +334,10 @@ then `structureFromTopology(topology, shape, center, features)`. Projection is
object. A selected editable cluster publishes its external carriageway,
corner, and stop-line handles. It publishes `cluster-crossing-inset` only for
an arm with a matching OSM crossing node.
- A selected cluster that cannot project an authoritative `junctionStructure`
returns an empty scoped handle list from both edit state and preview. The API
must not advertise controls for an object the workbench cannot identify or
render as an editable structure.
- A cluster carriageway anchor contains `clusterId`, stable
`carriagewayKey`, `sourceNodeIds`, and `sourceRoadIds`. Replay matches all
source identity; a missing or changed source is stale with `anchor-missing`.