Skip to content

Commit

Permalink
Update CitybusConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottwilliams committed Oct 2, 2017
1 parent 0aff736 commit f77a808
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Proper/Configuration/CitybusConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ struct CitybusAgencyConfig: AgencyConfig {
let key = "citybus"
let name = "CityBus"
let region = MKCoordinateRegionMakeWithDistance(
CLLocationCoordinate2D(latitude: 40.4088972, longitude: -86.927739), 9200, 1264)
CLLocationCoordinate2D(latitude: 40.424758, longitude: -86.913649), 500, 500)
let timeResolution = TimeInterval(30)

let badgeForRoute: (MutableRoute) -> Property<String?> = { _ in .init(value: nil) }
let badgeForRoute: (MutableRoute) -> Property<String?> = { .init(value: $0.shortName) }
let titleForRoute: (MutableRoute) -> Property<String?> = { .init($0.name) }
let titleForArrival: (Arrival) -> Property<String?> = { arrival in
if let heading = arrival.heading {
Expand All @@ -38,7 +38,7 @@ struct CitybusAgencyConfig: AgencyConfig {
}

struct CitybusConnectionConfig: ConnectionConfig {
let server = URL(string: "ws:https://irene.local:32771/ws")!
let server = URL(string: "ws:https://transit.emw.ms/api/citybus")!
let realm = "realm1"
let scheduleService = "timetable"
}
Expand Down

0 comments on commit f77a808

Please sign in to comment.