Skip to content

Commit

Permalink
Use v5 in example
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed May 8, 2016
1 parent fbc4867 commit e2d2bd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Directions Example/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ class ViewController: UIViewController {
let wh = CLLocationCoordinate2D(latitude: 38.8977, longitude: -77.0365)

let request = MBDirectionsRequest(sourceCoordinate: mb, destinationCoordinate: wh)
request.version = .Four


directions = MBDirections(request: request, accessToken: MapboxAccessToken)

directions!.calculateDirectionsWithCompletionHandler { (response, error) in
Expand Down

0 comments on commit e2d2bd9

Please sign in to comment.