From 2c0a50086952953805c091396cbabc179d4ee691 Mon Sep 17 00:00:00 2001 From: Bobby Sudekum Date: Tue, 13 Jun 2017 15:57:36 -0700 Subject: [PATCH] remove --- MapboxNavigation/NavigationViewController.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/MapboxNavigation/NavigationViewController.swift b/MapboxNavigation/NavigationViewController.swift index 8c787242bf9..df9ec681567 100644 --- a/MapboxNavigation/NavigationViewController.swift +++ b/MapboxNavigation/NavigationViewController.swift @@ -368,13 +368,6 @@ public class NavigationViewController: NavigationPulleyViewController, RouteMapV routeController.locationManager.allowsBackgroundLocationUpdates = true } } - - for leg in route.legs { - if let last = leg.steps.last { - let annotation = MGLPointAnnotation() - annotation.coordinate = last.coordinates!.last! - } - } } func navigationMapView(_ mapView: NavigationMapView, routeCasingStyleLayerWithIdentifier identifier: String, source: MGLSource) -> MGLStyleLayer? {