<talos-groundtrack> shows where a constellation is: the point beneath each
satellite, the ground tracks an inclined orbit traces, and ground-station
gateways that brighten while a satellite is in view. Position is bound to each
satellite’s state, so the dots march west to east and the gateways light as the
fleet passes over. On an equirectangular map an orbit of inclination i traces
lat = i · sin(phase), so the reference tracks are the real shape.
Default — .sats and .gateways
<talos-groundtrack inclination="53" tracks="6"></talos-groundtrack>
<script type="module">
const el = document.querySelector("talos-groundtrack");
el.sats = [{ lon: -40, lat: 22, band: 0 }, { lon: 95, lat: -48, band: 2 }];
el.gateways = [{ lon: -3, lat: 51, active: true }, { lon: 139, lat: 35, active: false }];
</script>
The demo advances twelve satellites each second and marks a gateway active
while a satellite is within range of it.
Data
| Property | Shape | Effect |
|---|---|---|
sats | [{ lon, lat, band }] | sub-satellite points; band 0 / 1 / 2 = nominal / warning / critical |
gateways | [{ lon, lat, active }] | fixed ground stations; active brightens one |
Coordinates are degrees: lon in -180..180, lat in -90..90.
Attributes
Generated from custom-elements.json in the installed package.
Shared attributes (state, format, static…) behave as the
instrument contract describes.
| Attribute | Type | Default | Description |
|---|---|---|---|
inclination | number | 53 | orbit inclination in degrees for the track lines. |
tracks | number | 6 | number of reference track sinusoids to draw. |
label | string | — | accessible label. |
state | string | — | live | loading | stale | offline | unknown; sets data-state on the host |
updated-at | string | — | time of the last sample (ISO or epoch ms); drives the age caption |
stale-after | string | — | seconds after updated-at at which the element reads stale |
Properties and methods
| Member | Type | Description |
|---|---|---|
.sats | GroundSat[] | |
.gateways | Gateway[] |
CSS parts
::part(canvas)