                 initialZoomCompleted = true
             }
 
-            mapView.setCenter(location.coordinate, animated: false)
+            if trackUser { mapView.setCenter(location.coordinate, animated: false) }
             
         case .headingUpdate(let heading):
-            mapView.camera.heading = heading.trueHeading
-            break
+            if trackUser { mapView.camera.heading = heading.trueHeading }
             
         default:
             break

            if  let container = jsonObject as? [String : [String: Any]],
                let coordinates = container[ViewController.jsonKey] as? [String : [String : Double]] {
                
                var markers = Array<Marker>(repeating: Marker(coordinate: CLLocationCoordinate2D(latitude: 0, longitude: 0)), count: coordinates.count)
                for (key, value) in coordinates {
                    markers[Int(key)! - 1] = Marker(coordinate: CLLocationCoordinate2D(latitude: value["latitude"]!, longitude: value["longitude"]!))
                }
                return markers
            }

    
    private let initialCoordinate: CLLocationCoordinate2D
    
    init(coordinate: CLLocationCoordinate2D, position: Int) {
        initialCoordinate = coordinate
        title = "Marker \(position)"
        super.init()
    }
}
