                     userInfo: nil)
     }
 
-    if !markerRemove(currentRouteMarker) {
+    if !tgViewController.markerRemove(currentRouteMarker) {
       throw NSError(domain: MapViewController.MapzenGeneralErrorDomain,
                     code: MZError.RouteDoesNotExist.rawValue,
                     userInfo: nil)

                      code: MZError.GeneralError.rawValue,
                      userInfo: nil)
      }
      markerSetPoint(newMarker, coordinates: TGGeoPoint(coordinate: annotation.coordinate))
      markerSetStyling(newMarker, styling: "{ style: sdk-point-overlay, sprite: ux-search-active, size: [24, 36px], collide: false }")
      currentAnnotations[annotation] = newMarker

    }

  case GeneralError, AnnotationDoesNotExist, APIKeyNotSet, RouteDoesNotExist
}

public class MapViewController: UIViewController, LocationManagerDelegate, TGRecognizerDelegate {

  //Error Domains for NSError Appeasement
  public static let MapzenGeneralErrorDomain = "MapzenGeneralErrorDomain"
  
  var tgViewController: TGMapViewController = TGMapViewController()
  var currentLocationGem: TGMapMarkerId?
  var lastSetPoint: TGGeoPoint?
  var shouldShowCurrentLocation = false
