A real-time 3D visualization of Singapore's MRT and LRT network. Watch trains move across all 9 lines on an interactive 3D map.
Forked from Mini Tokyo 3D by Akihiko Kusanagi
- 9 rail lines, 215 stations - Complete MRT and LRT network coverage
- Real-time train simulation - Trains follow accurate timetables throughout the day
- 3D interactive map - Tilt, rotate, and zoom with smooth animations
- Accurate track geometry - Curved rails from OpenStreetMap data
- Station details - Exit locations, interchange connections, and station codes
- Multi-language - English, 中文, Bahasa Melayu, தமிழ்
Get API keys from:
- Mapbox - for map tiles
- LTA DataMall - for Singapore transport data
# Clone the repository
git clone https://github.com/geledek/mini-singapore-3d.git
cd mini-singapore-3d
# Configure environment
cp .env.example .env
# Edit .env with your API keys
# Install and build
npm install
npm run build-all
# Start local server
npm startNote:
npm run build-allbuilds the app (JS/CSS bundles, static pages, and data) but does not build the VuePress docs site. Docs are built separately vianpm run docs:build— as of VuePress 1.x, that command can crash with an SSR error invue-server-renderer(known upstream issue, unrelated to the app build).
Open http://localhost:8080 in your browser.
| Layer | Technology |
|---|---|
| 3D Map | Mapbox GL JS |
| Data Visualization | deck.gl |
| 3D Meshes | Three.js |
| Build | Rollup |
| Deployment | Vercel |
- User Guide - How to use the map
- Developer Guide - API and customization
- CHANGELOG - Version history and recent updates
- SGRailData - Station coordinates, exits, and rail geometry
- LTA DataMall - Official Singapore transport data
- OpenStreetMap - Track geometry
Contributions are welcome! Areas that need help:
- Real-time train arrival integration (when LTA provides it)
- Bus route visualization
- Malay and Tamil translations
- Performance optimizations
MIT License - see the LICENSE file for details.
This project is a fork of Mini Tokyo 3D by Akihiko Kusanagi.
Special thanks to:
- Chee Aun for SGRailData and RailRouter SG
- Land Transport Authority for open transport data