Widget Functionality
What it does
Renders a station map with antenna positions and overlays an attribute-derived color/value per antenna. Supports title/legend controls and variable dot sizes.
Expected data
Station ID: e.g.
s8-1to look up antenna locations.Optional MCCS attribute fullNames used to color-code antennas.
GraphQL operations
Antenna layout (query):
query antennaLocations(station: String!) { antennaLocations(station: $station) { antenna_locations { id station smartbox tpm eep latitude longitude east north up label masked ... } } }
MCCS attributes (query):
query attributesMCCS(fullNames: [String!]!) { attributesMCCS(fullNames: $fullNames) { device name enumLabels value } }
Notes:
colorSchemeuses palette ids from the widget SDK.If
customColorScaleis provided (valid JSON of RGB triplets), it overridescolorScheme.mccsBatchSizesplits large attribute sets into smaller requests to avoid heavy payloads.
Interactive controls
Download SVG (top-right button) – exports the current viewport, including smartbox outlines and the active legend palette, as a standalone SVG. The export respects zoom level, pan offsets, and custom colour scales.
Reset view (bottom-right stack) – restores the initial pan/zoom transform so the map recentres after manual navigation.