Show HN: Trains.fyi – a live map of passenger trains in the US and Canada (opens in a new tab)trains.fyi
503 pointsHey all! My train the other day was delayed and I got curious where they all were at any given time, so I built a map and figured I'd share it.

Comments (302) 69 threads
Show all comments
Showing thread 62 of 69
Leaflet makes this incredibly simple; just add the suggested text to the attribution field when you initialize the layers:
[0]: https://www.openstreetmap.org/copyright[1]: https://wiki.openstreetmap.org/wiki/OpenRailwayMap/API
[2]: https://drive.google.com/file/d/1P7bhSE-N9iegI398QYDjKeVhnbS... via https://carto.com/legal