paigeruten / buskatoon Goto Github PK
View Code? Open in Web Editor NEWlive bus map for Saskatoon
Home Page: https://buskatoon.ca
License: MIT License
live bus map for Saskatoon
Home Page: https://buskatoon.ca
License: MIT License
One way to help performance would be to only show a small subset of the bus markers that the user cares about. Buses could be filtered by route number, route colour, maybe even distance from your current location. The filtering settings should probably persist in local storage.
Might be useful to be able to click on a "Show full bus route on map" link in a bus's info window to overlay that bus route on the map so you know exactly what the path of the bus is going to be. I think the Transit Shapes dataset gives us the shape of each bus route (or trip, I guess?).
import_data.php
could be run on a cron at like 3am every night, but it seems like they update the routes & trips data a good week in advance of when the route changes go into effect, so for that week all of the buses would have an (Unknown route)
.
Maybe the import_data.php
should instead be triggered when a certain percentage of buses all have an (Unknown route)
, so then the data would hopefully be updated at the same time as the buses.
A lot of them are black text on very dark-coloured backgrounds. I tried to add some light text-shadow to help with that, but it's still kind of hard to read.
I tried making some of them have white foreground text and some black, but didn't like how that looked. So I think we may want to just figure out how to dynamically lighten the background colour. I have a feeling that's what Google Transit does? It has to be subtle though. The colours should still be recognizable to anyone used to the ones shown by Google Transit.
Also on a related note, some of the arrows are really hard to see because they are so light. So it'd be nice to dynamically darken those in the same way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.