Auto-center when train is selected.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 19
- Avg merge
- 6m
- Merged PRs (30d)
- 7
Description
Hi,
love the new feature that shows the path that is going to take.
However when i try to scroll away from the train to check the path the map automatically center around the train and it's hard to do.
Would be nice if we could turn it off and have a button to center to the train only on request.
Another small thing is that it would be even nicer to see the behind-ahead in 2 different colors to have an immediate idea of the direction of the path.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the map behavior used when a train is selected and trace how the planned path is displayed. Make selection stop forcing the map to recenter, provide an explicit recenter action, and distinguish the behind and ahead path sections by color. Done means the path can be inspected while scrolling away and the train can still be centered on request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, react, typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100