Function: buildContextPacket()
buildContextPacket(
spec,result,selection,capabilities):ContextPacket
Defined in: runtime/contextPacket.ts:140
Derives the current ContextPacket from spec, the last GeoVisResult,
and the runtime's current selection. Cheap enough to call on every turn
(ADR-0004 consequence) — no geometry or data-row traversal, only the
spec's own metadata arrays.
Parameters
| Parameter | Type |
|---|---|
spec | VisualizationSpec |
result | GeoVisResult |
selection | GeoVisSelection | null |
capabilities | CapabilitySet |