         // Dispose of any resources that can be recreated.
     }
 
-
 }
 

        //route.getVehicleLocations({(success:Bool, vehicles:[TransitVehicle]) -> Void in
        SwiftBus.sharedController.vehicleLocationsForRoute("N", forAgency: "sf-muni", closure:{(route:TransitRoute?) -> Void in
            if let transitRoute = route as TransitRoute! {
                print("\(transitRoute.vehiclesOnRoute.count) vehicles on route N Judah\n")
                print("Example vehicle:Vehcle ID: \(transitRoute.vehiclesOnRoute[0].vehicleId), \(transitRoute.vehiclesOnRoute[0].speedKmH) Km/h, \(transitRoute.vehiclesOnRoute[0].lat), \(transitRoute.vehiclesOnRoute[0].lon), seconds since report: \(transitRoute.vehiclesOnRoute[0].secondsSinceReport)\n")
                print("\n")
            }
        })
        

            
            //If the stop and route exists
            if let transitStop = route as TransitStop! {
                print("\n-----")
                print("Stop: \(transitStop.stopTitle)")
                let predictionStrings:[Int] = transitStop.combinedPredictions().map({$0.predictionInMinutes})
                print("Predictions at stop \(predictionStrings) mins")
            }
            
        })
