File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -218,9 +218,6 @@ open class NavigationMapView: UIView {
218218
219219 deinit {
220220 annotationCache = nil
221- }
222-
223- deinit {
224221 unsubscribeFromNotifications ( )
225222 }
226223
@@ -1094,7 +1091,7 @@ open class NavigationMapView: UIView {
10941091 }
10951092
10961093 // sort the edges by distance from the user
1097- if let userCoordinate = userLocationForCourseTracking ? . coordinate {
1094+ if let userCoordinate = mostRecentUserCourseViewLocation ? . coordinate {
10981095 intersections. sort { ( intersection1, intersection2) -> Bool in
10991096 if let edge1Start = intersection1. coordinate, let edge2Start = intersection2. coordinate {
11001097 return userCoordinate. distance ( to: edge1Start) < userCoordinate. distance ( to: edge2Start)
You can’t perform that action at this time.
0 commit comments