-
Notifications
You must be signed in to change notification settings - Fork 133
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
DT-5452 Show closed stops on map using badge icons #4970
base: v3
Are you sure you want to change the base?
Conversation
app/util/mapIconUtils.js
Outdated
? `icon-icon_stop-temporarily-closed-badge` | ||
: `icon-icon_stop-closed-badge`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which mode does this stop icon represent (the sprite files does not show up in git)?
Another option to handle badges I'm currently exploring with rental stations, is having badges included in the original svg, and activate/color them via css vars. This would decouple the code from knowing where to place the badge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are universal badges for any mode. Grey clock symbol / cross on red background.
Proposed Changes
Draw badges on stop icons
Stop is permanently closed when there are no NO_SERVICE alerts and there are no routes related to it
Stop is temporarily closed when alerts show NO_SERVICE
Test added for realtime stop layer
Relies on otp PR New vectortile layer for Digitransit realtime stops opentripplanner/OpenTripPlanner#5743 and DT-5452 new realtime stop layer configuration OpenTripPlanner-data-container#389
Pull Request Check List
Review