Configuration Geomap Widget
The widget’s configuration schema is defined in src/index.ts. Options and defaults:
Station ID:
Key:
stationIdType:
stringExample:
"s8-1"
Endpoint:
Key:
endpointType:
TANGO_DBPurpose: Select Tango database endpoint(s). If multiple are selected, the first endpoint is used for polling.
Default: uses endpoint
"1"when not configured
Antenna filter:
Key:
antennaFilterType:
number[]Purpose: Filter down to specific antenna labels.
Masked antennae:
Key:
maskedAntennaeType:
Record<number, boolean>Purpose: Mask out antennae by index.
Extra attribute paths:
Key:
fullNamesType:
string[]Purpose: Additional attributes to fetch/overlay.
Legend position:
Key:
legendPositionType:
'left'|'right'|'top'|'bottom'|'none'Default:
"bottom"
Title and antenna toggles:
Keys:
showTitle,showAntennasType:
booleanDefault:
true
Aggregation mode:
Key:
groupByType:
'smartbox' | 'tpm'Default:
"smartbox"Purpose: Controls how group outlines are aggregated and labeled on the map.
MCCS batch size:
Key:
mccsBatchSizeType:
numberPurpose: Attributes per MCCS request; tune for large stations.
Default:
5
Antenna radii (px):
Keys:
radiusMinPx,radiusMaxPxType:
numberDefaults:
0.3,1
Color scheme:
Key:
colorSchemeType: SDK palette id from
@ska-octopus-widget-sdk/widget-sdk(for examplescientificActon10,tableau10)Default:
"scientificActon10"when available, otherwise first SDK palette
Custom color scale:
Key:
customColorScaleType:
string(JSON array of RGB triplets)Purpose: Override the selected SDK
colorSchemewith an explicit RGB ramp.Example:
"[[0,255,255],[255,0,0]]"
Quick recipe
{
"stationId": "s8-1",
"groupBy": "smartbox",
"legendPosition": "bottom",
"colorScheme": "scientificActon10",
"mccsBatchSize": 5
}