     if let routeMarker = currentRouteMarker {
       //We don't throw if the remove fails here because we want to silently replace the route
       currentRouteMarker = nil
-      markerRemove(routeMarker)
+      tgViewController.markerRemove(routeMarker)
     }
     let routeLeg = route.legs[0]
     let polyLine = TGGeoPolyline(size: UInt32(routeLeg.coordinateCount))

                      userInfo: nil)
      }
    }
    self.applySceneUpdates()
  }

  public func add(annotations: [PeliasMapkitAnnotation]) throws {
    for annotation in annotations {
      let newMarker = self.markerAdd()
      if newMarker == 0 {
        //TODO: Once TG integrates better error codes, we need to integrate that here.
        // https://github.com/tangrams/tangram-es/issues/1219

  func failedLocationAuthorization() {
    shouldShowCurrentLocation = false
    guard let marker = currentLocationGem else { return }
    tgViewController.markerRemove(marker)
    return
  }

