jbccollins / metro-monitor

:metro: A live filterable map of the DC Metro system. Features train positions, station arrival predictions and WMATA alerts all in once place!
https://www.dcmetromonitor.com
Other
14 stars 2 forks source link

Use dynamic destination station options #78

Open jbccollins opened 5 years ago

jbccollins commented 5 years ago

When closures occur the destination stations can change. They are currently hardcoded and updating them requires manually changing these and deploying. Instead just get the unique list of destination stations from the trains array. Ensure that when there are no trains (like when it's late at night) this doesn't crash/deselect any destination stations.