Route View shows buses for both directions.
Closed this issue · 2 comments
betsydupuis commented
Example: You see both northbound buses and southbound buses on a northbound route.
luqmaan commented
Is this a feature or a bug?
betsydupuis commented
That's up to you I think. =P
If it is a feature, it was mentioned to me by a user as an unexpected behavior. He showed it to me on his phone, and it really crowds the screen.
I looked into the code in rappid.js:
this.vehicles = new VehicleCollection(route.id(), route.directionId());
This looks like it should be creating collections based on direction id.
So... when I go the console in the route view...
Based on the mock data, I'm expecting a direction code (N, W, S, E), but that's about as far as I got on that.