Breaking Changes
- Export
mt3dnamespace instead ofMiniTokyo3Dclass - Refactor plugin framework and separate off all plugins
- Use
accessTokeninstead ofsecrets.mapboxforMapconstructor options
Features and improvements
- Refactor and improve loading process
- Avoid loading external secrets file
- Add
addLayer,getMapboxMap,getModelPosition,getModelScale,hasDarkBackground,removeLayerandsetLayerVisibilitymethods toMapclass - Add
Popop,MarkerandPanelclasses - Support
PluginInterfaceandThreeLayerInterfacefor plugins - Add ES module support
- Export the Mapbox GL JS and three.js namespaces as objects
- Performance improvement by three.js instancing
- Performance improvement by GPU picking
- Performance improvement by moving scaling and opacity blending into shader code
- Improve transformation of aircraft vertical tail when zooming
- Keep the width of outlines the same
- Adjust appearance of delay markers based on the actual background color
- Migrate documentation to VuePress
Data Updates
- Add holiday schedule in 2021
- Load Tsukuba Express and Tama Monorail data from Tokyo Challenge data source
- Update TWR, Tsukuba Express and Sotetsu timetables according to the schedule revision on March 13
- Update Toei Asakusa line, Keikyu, Keisei, Hokuso and Shibayama Railway timetables according to the schedule revision on March 27
- Update Yokohama Municipal Subway timetables according to the schedule revision on June 26
- Update Kanto Railway Joso line timetable according to the schedule revision on October 2
- Update Keikyu, Toei Asakusa line and Keisei timetables according to the schedule revision on October 18
- Update Keisei and Hokuso timetables according to the schedule revision on October 30
- Update Keio timetables according to the schedule revision on October 30
- Update station groups
- Update station exit poi data
- Extend JR-East Yokosuka, Tokaido, Ome, Takasaki, Hachiko, Utsunomiya, Sobu, Narita, Uchibo and Sotobo lines
- Extend Keikyu Main line
- Extend Tobu Isesaki and Tojo lines
- Extend Seibu Ikebukuro line
- Extend Odakyu Odawara and Enoshima lines
- Add JR-East Sagami, Joban, Kashima, Togane, Kururi and Ito lines
- Add Toei Arakawa line
- Add Keikyu Zushi and Kurihama lines
- Add Tobu Sano, Koizumi, Kiryu, Nikko, Utsunomiya, Kinugawa and Ogose lines
- Add Seibu Chichibu and Yamaguchi lines
- Add Kanto Joso and Ryugasaki lines
- Add Ryutetsu Nagareyama line
- Add Kominato line
- Add Isumi line
- Add Kanazawa Seaside line
- Add Enoshima Electric Railway line
- Add Shonan Monorail Enoshima line
- Add Yamaman Yukarigaoka line
- Add New Shuttle
- Add Chichibu main line
Bug fixes
- Unclip buttons on the route search result panel
- Fix popup glitches
- Make underground trains always visible by setting the suitable frustum
- Fix the error of special trains sometimes having invalid coordinates
- Fix the issue of the loader generating incompatible data
- Eliminate z-fighting
- Fix the issue of picking objects under the ground
- Fix the issue that a popup doesn't appear on aircrafts in some cases
- Correct Odakyu Odawara line timetables