Dev Tools · 1h ago
Solo dev builds interactive map of 767 global train routes with open data
TrainRouter maps 767 notable train routes across 118 countries using React, MapLibre, and OpenFreeMap. The solo project handles 700+ overlapping lines with line-offset rendering and endpoint markers. It also prerenders 1,500 static pages for SEO and AI crawler discoverability.
Meridian48 take
The technical choices—centripetal Catmull-Rom splines and strand-based line offsets—are clever, but the real story is how one developer made a complex interactive map both free and searchable.
Read the full reporting
How I built an interactive atlas of 767 train routes (React + MapLibre + open data) →
DEV Community
open-sourceweb-development