Add info on train schedules and displays its planned path on top of the map.#74
Open
D3rPole wants to merge 25 commits intojenchanws:fabric/1.20from
Open
Add info on train schedules and displays its planned path on top of the map.#74D3rPole wants to merge 25 commits intojenchanws:fabric/1.20from
D3rPole wants to merge 25 commits intojenchanws:fabric/1.20from
Conversation
It will be displayed with the tooltip when hovering over a train.
…e turns the train needs to make. Which makes the visualisation more challenging.
TODO: Fill in track pieces inbetween
Missing: From train to first node / Last node to station
Also added nullcheck for carriage data in create-track-map.js to avoid the missing dimension error that can happen sometimes.
TODO: Arrival time
…Making them clickable.
…ned on and off in UI (Train navigation)
Trainlist button only update when the train moved 10 blocks (was unclickable at 20 updates/sec)
…e cars (just ignore the problem) Added more data to train info card
Fixed speed being negative (on UI) when driving backwards Changed displayed speed unit to Blocks/s
…signal) on its way to a station
…en driving backwards
Prince527GitHub
added a commit
to SkyboundLab/create-track-map
that referenced
this pull request
May 28, 2025
Prince527GitHub
added a commit
to SkyboundLab/create-track-map
that referenced
this pull request
Jun 1, 2025
This reverts commit 9958c5c.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added information window for each train
Window shows:
Window opens when a train is clicked.
Little video to show how it looks like:
https://github.com/jenchanws/create-track-map/assets/28690204/697b3e6a-f466-4961-b35b-70245f0d51d9
Used this to create the window:
https://github.com/mapshakers/leaflet-control-window