• Stars
    star
    2,068
  • Rank 21,550 (Top 0.5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 5 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A real-time 3D digital map of Tokyo's public transport system

Mini Tokyo 3D

A real-time 3D digital map of Tokyo's public transport system.

Screenshot

Screenshot

Screenshot

See a Live Demo.

Demo Videos

User Guides

Developer Guides

Cheat Sheet

Operation Description
Mouse or finger drag Pan
Mouse wheel rotation Zoom in/out
Right click or Ctrl key + mouse drag Tilt up/down and rotate
Shift key + mouse drag Box zoom
Pinch in/out Zoom in/out
Two-finger drag Tilt up/down and rotate
Double-click or triple-tap Zoom in
Shift key + Double-click or two-finger tap Zoom out
Click or tap the search button Show/hide the route search panel
Click or tap +/- buttons Zoom in/out
Click or tap the compass button Reset bearing to north
Click or tap the compass button + mouse or finder drag Rotate
Click or tap the fullscreen button Toggle the fullscreen mode
Click or tap the eye button Toggle the underground mode
Click or tap the playback button Toggle the playback mode
Click or tap the battery button Toggle the eco mode
Click or tap the layer button Show/hide the layer display settings panel
Click or tap the camera button Show/hide the tracking mode settings panel
Click or tap the info button Show/hide the app info panel
Click or tap a train/aircraft/station Enable tracking or select station
Click or tap the map Disable tracking or deselect station
Hover a train/aircraft/station Show the train/aircraft/station information

Language Support

Currently, the following languages are supported. Any help or contribution with translations and additional language support is always greatly appreciated.

Language User Interface Map Labels Stations, Railways, Airlines, etc. User Guide
English Yes Yes Yes Yes
Japanese Yes Yes Yes Yes
Chinese (Simplified) Yes Yes Yes -
Chinese (Traditional) Yes Yes Yes -
Korean Yes Yes Yes -
Thai Yes - - -
Nepali Yes - - -
Portuguese (Brazil) Yes - - -
French Yes - - -

If you want to contribute, please start with translating the UI messages in the dictionary-<ISO 639-1 code>.json file in the data directory. Then, if you have extra energy, add the title of each item in your language to airports.json, flight-statuses.json, operators.json, poi.json, rail-directions.json, railways.json, stations.json, train-types.json in the data directory.

About Data

The data for this visualization are sourced from the Public Transportation Open Data Center, which includes station information and train timetables as well as real-time data such as train location information and status information of multiple railway lines in the Greater Tokyo area.

How to Build

First, get access tokens for the public transportation data and map tiles by signing up at Public Transportation Open Data Center and Mapbox. Then, create a file named secrets which has access tokens in the following format in the root directory of the application.

{
    "odpt": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

The latest version of Node.js is required. Move to the root directory of the application, run the following commands, then the script, dataset and static web page will be generated in the build directory.

npm install
npm run build-all

Finally, replace the accessToken property, which is passed to a Map constructor, with your Mapbox access token in index.html.

See the Developer Guides for more details.

License

Mini Tokyo 3D is available under the MIT license.

Supporting Mini Tokyo 3D

Your support, large or small, helps keep this project strong!

More Repositories

1

chartjs-plugin-streaming

Chart.js plugin for live streaming data
JavaScript
428
star
2

chartjs-plugin-colorschemes

Predefined color schemes for Chart.js
JavaScript
256
star
3

nk-missile-tests

An interactive visualization of flight tests of all missiles launched by North Korea from 1984 to 2023
JavaScript
120
star
4

chartjs-plugin-rough

Chart.js plugin to create charts with a hand-drawn, sketchy, appearance
JavaScript
79
star
5

chartjs-plugin-style

Chart.js plugin for more styling options
JavaScript
61
star
6

mini-tokyo

A real-time digital map of Tokyo's public transport system
JavaScript
37
star
7

japan-eq-locator

A 3D hypocenter map of earthquakes around Japan
JavaScript
34
star
8

ukraine-livecams

Ukraine live camera 3D map
HTML
33
star
9

mapbox-gl-rain-layer

An animated rain layer for Mapbox GL JS
JavaScript
33
star
10

hakone-ekiden

A real-time 3D digital map of Hakone Ekiden
JavaScript
18
star
11

mapbox-gl-animated-popup

An animated popup component for Mapbox GL JS
JavaScript
17
star
12

chartjs-plugin-datasource

Chart.js plugin for automatic data loading
JavaScript
16
star
13

japan-weather-3d

A real-time 3D weather map of Japan
JavaScript
16
star
14

mapbox-gl-indoor-map

Indoor map based on Mapbox Indoor v1 tileset which contains 439 facilities in Japan including major stations and underground malls
JavaScript
12
star
15

sea-level-rise-3d-map

A 3D map of sea level rise simulation
HTML
8
star
16

world-eq-locator

A 3D hypocenter map of earthquakes all around the world
JavaScript
5
star
17

covid19-japan-graph

A graph of the COVID-19 clusters in Japan
JavaScript
5
star
18

japan-vaccination-tracker

A new coronavirus (COVID-19) vaccination real-time tracker with live map in Japan
JavaScript
5
star
19

nagix.github.io

JavaScript
3
star
20

mini-tokyo-3d-preview

HTML
2
star
21

mt3d-plugin-fireworks

Fireworks plugin for Mini Tokyo 3D
JavaScript
2
star
22

mt3d-plugin-livecam

Live Camera plugin for Mini Tokyo 3D
JavaScript
2
star
23

mini-sg-3d

1
star
24

covid19-aichi-graph

A graph of the COVID-19 clusters in Aichi
JavaScript
1
star
25

pien

Public transport Irregular Event Notifier (PIENπŸ₯Ί)
1
star
26

covid19-hokkaido-graph

A graph of the COVID-19 clusters in Hokkaido
JavaScript
1
star
27

mt3d-plugin-olympics2020

Tokyo 2020 Olympics plugin for Mini Tokyo 3D
JavaScript
1
star
28

mini-tokyo-3d-toei

A real-time 3D digital map of Tokyo's public transport system
JavaScript
1
star
29

covid19-tokyo-graph

A graph of the COVID-19 clusters in Tokyo
JavaScript
1
star
30

streamo

A simple chart widget for live streaming data
1
star