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

colour different route segments differently #38

Open
EddyIonescu opened this issue Mar 9, 2018 · 0 comments
Open

colour different route segments differently #38

EddyIonescu opened this issue Mar 9, 2018 · 0 comments

Comments

@EddyIonescu
Copy link
Member

As part of visualizing speed, route segments (where a segment is from one stop to the next) should be coloured - in red/yellow/green similar to how you'd see it on Google Maps.

Notes:

  • stops and routes are currently displayed using the Muni GeoJson file. For geographical stuff, the Turf.Js is pretty solid (it's being used the the API)
  • the API doesn't return any speed-related data, so just make a random number for the speed
  • also adding a toggle for whether to visualize speed would also be useful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants