Slowly figuring stuff out
Still learnin'!
Switching to AngularUI Google Maps. Close to figuring it out.
Totally figured it out now. Switched to Q (promises) in Geolocation service. Removed ng-controller directive to prevent creating two map controllers (routing creates one).
Starting on transit data service. Updating Angular.
Work on transit data service; async JSONP-like hacks around the Strategic Mapping web service (ish) seem to be working.
Working out how the deferred request queue should work.
Working on queueing and resolving requests.
Adding stop arrivals URL. Comma prefix not necessary. Rearranging some stuff.
Doing API calls strictly 1:1 now, instead of attempting to resolve multiple requests for bus locations. May still do bus locations as an observable in the future, though. Switching to 3rd party geolocation service.
Switching up script IDs.
Adding timeout for api calls that aren't resolvable.
Refactoring some magic constants.
Creating static getRoutes() API for TransitData service.
Adding list of routes and setting up interval to fetch locations for the checked ones.
Getting route info before checking bus location, since the route ID is not the same as the bus ID. Making room for the map markers for routes.
Displaying bus markers on the map. Weekend/weekday routes. Parsing timestamp for bus locations.
Encapsulating route stuff into Route class. Accounting for multiple buses on the same route. Lots of refactoring. No service on Sunday.
Route visibility updates when checked and unchecked.
Configuring deployment to S3. Adding missing bus routes files. Adding Google Analytics. Adding base element for production. Adding version and timestamp comment.