Aircraft icons are one size; helicopters turn a three-frame rotor while
airborne or moving; ADS-B ground vehicles share one amber sprite and
stations/obstacles one mast; vessels get hull sprites by type and one buoy.
Going live keeps contacts until the first live answer and replaces them by
id; fast playback holds before the loaded positions end and prefetches
ahead. Cesium models move their parts from the optional model part state.
The tracked-model checks zoom the follow camera to within 2 km of the plane,
and the grounded-model check parks the camera 2 km above the planes instead
of 8 km, since models now draw only within 3 km.
A selected plane is drawn by its own model, and its fleet model was let go once
that model drew. Deselecting showed the icon at once, and the icon stayed for
about a second while a new fleet model loaded.
The fleet model now stays loaded but hidden while the plane is selected, kept
where the plane is. Deselecting hands the plane back to it in the same frame,
and the icon shows only when there is no loaded fleet model. Military aircraft
share this code. Vessels never swap models on selection, so they had no flash.
An aircraft, vessel, transit or rail vehicle now draws as its 3D model only
when it is within 3 km of the camera, and as its icon farther away. A model
already drawn is kept out to 3.6 km, so a vehicle on the edge does not flicker.
Proximity and All use the same distance and still differ by how many models
they allow (150 and 350). Models are drawn at their true size: the minimum
pixel size that inflated distant models is gone.
The camera altitude above which no model is considered is now the highest
aircraft the layers draw (30 km) plus the 3.6 km, so a camera high above the
ground still models an aircraft close to it. Cockpit's aircraft silhouettes
keep their own 150/185 km and 400/450 km bands, since they are icons.
Found by a review of the review fixes:
- PanelChrome finds collapsible panels once, at startup, and Context starts
closed, so STATION and LIVE inside the Inspector view (mounted only while
Context is open) were never registered: their +/- did nothing and their
bodies stayed hidden. They sit beside Radio again, always in the page; a
test mounts Context closed and finds their collapse buttons.
- A model whose load failed was never retried while the station stayed
shown (the renderer retries only on an update, and a model not ready is
not sent). It is now released 30 s after the failure and asked for again;
a model still loading also counts as undrawn out of range.
- The Cockpit LIVE page counts as hidden while the briefing card is
collapsed, so the player stops there too.
- Tests: the label-box gate through the real click handler (it fails on the
code before the gate), and the STATION section republishing only when the
pose age crosses a whole second.
- SECURITY.md: an oversized feed frame closes the socket; the unused import
in issCommand.js goes.
- getLiveSubjectKeys no longer sits between trackById's comment and body.
- issCommandSunPoses and issCommandStatusText go: nothing called them.
- The STATION section's 'no signal since' time is formatted in the app's
locale (formatDate), not the browser's.
- LiveControls sends an unchanged view only once: the 2 s refresh resends
nothing (tested).
- The STATION mode radios take arrow keys and keep only the checked one in
the tab order; the LIVE stream arrows are 44 px on a coarse pointer.
ModelItem.nodes had no conformance check. A renderer that poses a model's
named glTF nodes now lists modelNodes (the Cesium port does); one without it
draws the model as authored. The check draw.models.nodes moves the harness
model's node off the screen's centre through nodes, live, ignores a name the
model lacks, and gives the node its authored pose back when it leaves the
map; it runs on the Cesium harness (141 passed, 0 failed) and on the stub,
whose model is one node named after its file. Each harness names its model's
node (assets.modelNode).
Main added zh-Hant entries by hand, in Taiwan wording (搜尋, 資料, 即時,
儲存, 「」). `npm run i18n -- --zh-hant` rewrites the 91 that are not
zh-CN converted; the 3818 keys and their order stay.
- Without opencc-js the zh-Hant check says to run npm ci, and the other
checks still run.
- --prune handles zh-CN before zh-Hant: shippedLocales() sorts, since
git lists untracked catalogs first.
- A key missing from zh-Hant is reported once, with "run npm run i18n --
--zh-hant" when zh-CN has it; a zh-Hant entry still in English points
to zh-CN and same-as-english.json.
- 並道 -> 併道 applies only to entries whose English key says merge, so
并 (and) before 道路 or 道謝 stays 並.
- Two more corrections for strings main has added: 箇中 -> 個中 after a
count (全部 {n} 個中), and 宣佈 -> 宣布 like 發佈 and 公佈.
- zh-hant-cli.test.mjs runs the command in a throwaway repository, with
opencc-js linked as a junction, so Windows needs no symlink privilege.
zh-Hant.json does not change.
- A height the entry frame gave holds while later frames give none and the
floor is still cold, so the view no longer waits and ends.
- A subject's camera update advances by the time since the last one, up to
its interval plus a second: at 5 frames a second an inertial subject no
longer falls behind (700 m in a minute at 30 m/s), while a hidden tab
still counts as one late update.
- A provider's Live Signals rows change where they stand and come back
after newer rows pushed them off, so a changing ETA no longer hides a
steady warning; the built-in rows log as before.
- Progress labels give full-width glyphs (CJK, kana, Hangul) about 1 em,
so such stop names no longer overlap.
- A provider's labels, entry face and look start from the words checked at
registration, so one that fails on its next read keeps them.
The double-click test on a selected vessel now projects through
SceneTransforms, as the scene query port does, with a control that enters
the bridge.
- scripts/build-tiangong-model.py is the Blender script the model README
cites, with its paths made repository-relative (output to a folder given
after --, the ISS reference read from public/models/). Not re-run in this
commit: only its paths changed.
- The ISS textures carry the NASA insignia and the ESA, Columbus, JAXA and
Nanoracks marks as flown; the model README and DATA_SOURCES say they are
kept as flown and imply no endorsement.
The #1690 and reconnect fragments become changelog.d/1767-space-stations.md:
users never had the floating panels, and the reconnect fix is to code that
has not shipped. Each entry keeps its authors. The 27 new or changed test
files and the two new stylesheets join scripts/format-scope.json.
- railHeightM is null while the train is drawn on the ellipsoid (floor
quality 0) instead of -1.5 m, so a view waits for the surface.
- An arc step between two reports tells which way a train runs only above
15 m, the layer's parked-train jitter (FOLLOW_MIN_MOVE_M). GPS jitter of
a standing train no longer flips the direction through the playback
segments, which turned a ride 180 degrees every poll.
- drawDirection, a copy of direction, becomes a directionPlayed flag.
- A held vehicle's icon is hidden through the renderer (setShown, then
flushMarkers). The icon sets draw a marker only as last pushed, so the
direct marker.show write left a parked vehicle's icon drawn under the
view's eye.
- disable() ends the hold: turned off and on again, the vehicle shows and
clicks and Escape reach the layer.
- Far above the ground a vehicle with no floor is drawn on the ellipsoid.
Its snapshot now reports groundHeightM null there, as near the ground,
instead of -1.5 m.
- The uneven-ground test also checks the snapshot mid-segment, where a
blend of the two reports' floors would read about 55 m instead of 10 m.
- The feed socket is opened with maxPayload at the 64 KB frame cap and a
10 s handshake timeout: ws would otherwise buffer up to 100 MiB before the
cap applied.
- Only a session that has run a minute brings the retry ladder back to its
first step, so a feed that sends a snapshot and then END keeps backing off;
the ladder's later steps are tested.
- The rate limit keys IPv6 clients by /64, and any path under the route is a
JSON 404.
- Resume (and Automatic) give the arm joints the sway does not move their
filed or folded pose back, on both stations; a node given no matrix leaves
the item's nodes, as a model node returns to its authored pose. Tiangong's
reset also forgets the hand-posed arms.
- A telemetry route that never answers (a 404, an HTML fallback) reads as
unavailable instead of connecting forever.
- The STATION section takes the pose age in whole seconds, so live telemetry
no longer republishes it every frame.
- Tests: the telemetry states, the ISS Automatic handing telemetry back,
Resume on both stations.
The fallback to the label box the shared overlay paints for a site now runs
only when the click hit nothing drawn (the map itself), reads the overlay in
CSS pixels, and accepts the site only when its label is the one painted on
top there: an aircraft or vessel, or another layer's label, over a site's
label keeps its own click. Tested against the overlay's hit rects, not a stub.
The station's, the tracked and the docked dots are handed to the model only
once the renderer reports it ready, so the station no longer goes dark while
the file loads, or for good when it fails to. Turning the layer off releases
the model's draw set at once, and a minute out of range or hidden releases
it too, giving its GPU memory back; the next approach asks for it again.
Selecting a station no longer builds the player: the LIVE section and the
Cockpit's LIVE page show a poster with Play under the line that YouTube sees
the viewer's IP address, as SECURITY.md asks of third-party media. The player
goes when the section collapses, Context collapses or closes, the Cockpit
leaves its LIVE page, or the Cockpit is entered or left, so nothing plays
unseen. A selection that moves straight on to another entry of the same
station (the Cockpit stepping between views) keeps the player instead of
rebuilding it. SECURITY.md also lists the ISS telemetry relay.
Main split Context into Inspector and Properties tabs and renders the
Inspector only while Context is open; the two sections join it there, after
the entity card. Locales, same-as-english and package boundaries keep both
sides, deduplicated (the branch had added 54 duplicate module entries).
Under another layer's card, radio and Street Level yielded whenever their
own pick window found an item that was not the tap's touch contact. If the
contact was a different station or Street Level item of theirs, the card
yielded to that contact too, and the tap did nothing. Under a card they now
act on their own touch contact, and still yield when the contact is not
theirs. On bare map the window keeps its precedence.
The flights and military layers treat the aircraft they already track as
a passive pick, but they start tracking during the click itself. A card
handler running later in the same click then saw the plane as passive and
acted too: a quake card opened its source while the plane started
tracking, and fire, CCTV and vessel cards could do the same.
The pick registry now records the acting owners of a click's exact hit and
touch contact when the dispatcher first resolves them, and the quake,
FIRMS, CCTV, vessel and Context checks read that record for the rest of
the click. Calls without a click keep the live lookup.
On a coarse pointer the dispatcher can name a contact near the tap instead
of the exact pick. Only flights, military, vessels, radio and Street Level
act on such a contact, so they now register as expanded pick owners, and a
quake card or label yields only to them. A FIRMS fire or CCTV camera reached
only as a nearby contact no longer swallows a quake card, a quake label or
a vessel's own card tap, and FIRMS and CCTV cards yield to a contact whose
layer does act on it.
Radio and Street Level also pick through their own windows. A station or
Street Level item found only there, not as the touch contact, yields to
another layer's card painted over it, and Street Level takes its own touch
contact beyond its narrower window.
Fire, CCTV and vessel cards now act over a passive owner's pick (a flight
trail, the directions route), as the quake card does. The Context panel
leaves a passive route, or a fire or camera reached only as a nearby
contact, to the card painted over it.
Both layers registered their time coverage with the page's world clock when
created and never unregistered it, so an application destroyed and started
again kept each old layer, and its scene and tiles, reachable through the clock.
They now unregister on destroy and register again on init, as earthquakes do.
Cesium switches the map stacks through its globe port, as any renderer
does, rather than through a map engine of its own. Every route keeps its
behaviour:
- Google 3D turned off is kept hidden, and shown again without loading it
anew; the key route's tiles take clamped marks, as the token routes' do.
- Esri goes to its deepest level (23); its "Map data not yet available"
picture is a missing tile, so the parent's imagery stays.
- Cesium ion's world imagery is Bing over HTTPS on any page, with ion's
credits; a token ion refuses refuses the switch, as before.
- Keyless terrain that does not answer is the flat ellipsoid, tried again
behind it; world terrain asks ion first, as before.
- window.__godsEyeView.tileset is the Cesium photoreal tileset.