             make.edges.equalToSuperview()
         }
         self.toggleButton.addTarget(self, action: #selector(toggleButtonTapped), for: .touchUpInside)
+        self.toggleButton.isSelected = self.expanded
     }
 
     // MARK: - Data Loading


class VehicleMapController: UIViewController, MKMapViewDelegate {

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

    // MARK: - Delegate

    func toggleButtonTapped() {
        self.expanded = !self.expanded
        self.delegate?.vehicleMap(self, didToggleSize: self.expanded)
    }

