Skip to content

Commit

Permalink
Longitude then latitude
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Apr 3, 2016
1 parent fb4b272 commit a096d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MapboxDirections/MBDirections.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class MBPoint {
extension CLLocationCoordinate2D {
internal init(JSONArray array: [Double]) {
assert(array.count == 2)
self.init(latitude: array[0], longitude: array[1])
self.init(latitude: array[1], longitude: array[0])
}
}

Expand Down

0 comments on commit a096d4a

Please sign in to comment.