mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
feat(rail): add a Rail layer with keyless live trains
Live trains from 30 keyless operator feeds: GPS positions from 29 and Irish Rail's station reports, shown as the operators publish them. 28 work out of the box; Renfe long and medium distance and KTMB appear once their pack is built, because their vehicles name no route. Packs are opt-in (scripts/build-rail-paths.mjs): the operator's own route lines, stop names, next stops and trip-update delays for live trains. Nothing downloads when the app starts, no train is placed from a timetable, and no request carries a deployer's key.
This commit is contained in:
1 parent
14db73f201
commit
830c080803
114 files changed
+26639
-26
No files matched your search
@@ -10,6 +10,9 @@ export const WORLD_FOCUS_FRAMING = Object.freeze({
|
||||
vessel: Object.freeze({ radiusM: 150, rangeM: 1200, pitchDeg: -30 }),
|
||||
fire: Object.freeze({ radiusM: 400, rangeM: 3000, pitchDeg: -35 }),
|
||||
sighting: Object.freeze({ radiusM: 250, rangeM: 2500, pitchDeg: -40 }),
|
||||
// A stopped train's one fly-to, and the frame a moving train is followed
|
||||
// in (src/layers/rail/follow.js): the train and the track either side.
|
||||
train: Object.freeze({ radiusM: 200, rangeM: 2500, pitchDeg: -35 }),
|
||||
'sighting-area': Object.freeze({
|
||||
radiusM: 11000,
|
||||
rangeM: 60000,
|
||||
|
||||
Reference in new issue
Block a user