Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map interactions #9

Open
maxwell8888 opened this issue Jul 10, 2022 · 0 comments
Open

Map interactions #9

maxwell8888 opened this issue Jul 10, 2022 · 0 comments
Milestone

Comments

@maxwell8888
Copy link
Contributor

maxwell8888 commented Jul 10, 2022

Hovering a trip should highlight it and bring up sufficient information to help identify it, clicking it "selects" that trip and should that trip in the list. It is much easier to just ask the user to click a trip to bring up it's info, and avoids the situation where multiple trips are being hovered simultaneously.

Selecting an agency/route/trip/stop_time/stop in the list will also select it on the map and cause the previous item to be deselected.

Currently if multiple trips are being hovered and the user clicks, the "first" arbitrary trip is the one selected. This makes it harder to select the desired trip, especially if it follows the same path as another trip which comes "first". Maybe better to select all trips, then let the user narrow down from the list?

Provide some controls for resizing/zooming the map around the selected route, but don't do this automatically. Maybe double clicking the route zooms to it?

Esc (and clicking outside the map?) delselects any selected route.

Interaction with the line drawn on the map will not differentiate between trips, since in most cases all trips have the exact same shape, therefore any functionality that tries to differentiate between different trips would ususally be redundant. In order to only display a specific trip on the map (which provides more info than the route display, ie direction of travel and only the stops for that trip) users select the route first, and then use controls to choose which trip they want to highlight (either from the route widget in the list which is auto-scrolled to, or the route info that is brought up on the map itself).

Hovering a list item should highlight it on the map.

@maxwell8888 maxwell8888 added this to the MVP milestone Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant