Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobby Sudekum committed Jun 13, 2017
1 parent b67b564 commit 2c0a500
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions MapboxNavigation/NavigationViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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? {
Expand Down

0 comments on commit 2c0a500

Please sign in to comment.