         return OBAApplication.shared().modelService
     }()
 
-    public var expanded: Bool {
-        get {
-            return self.toggleButton.isSelected
-        }
-        set(val) {
-            self.toggleButton.isSelected = val
-        }
-    }
-
     var routePolyline: MKPolyline?
 
     lazy var routePolylineRenderer: MKPolylineRenderer = {


class VehicleMapController: UIViewController, MKMapViewDelegate {

    public var tripDetails: OBATripDetailsV2? {
        didSet {
            guard let tripDetails = self.tripDetails else {

            make.edges.equalToSuperview()
        }
        self.toggleButton.addTarget(self, action: #selector(toggleButtonTapped), for: .touchUpInside)
        self.toggleButton.isSelected = self.expanded
    }

    // MARK: - Data Loading
