Skip to content

Commit 975cd1f

Browse files
committed
⬆️ Update NavSDK to v2.0.0-beta.25
1 parent 6a9b5ca commit 975cd1f

File tree

3 files changed

+36
-37
lines changed

3 files changed

+36
-37
lines changed

Navigation-Examples/Examples/Custom-Destination-Marker.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,9 @@ extension CustomDestinationMarkerController: NavigationMapViewDelegate {
120120

121121
// `PointAnnotationManager` is used to manage `PointAnnotation`s and is also exposed as
122122
// a property in `NavigationMapView.pointAnnotationManager`. After any modifications to the
123-
// `PointAnnotation` changes must be synchronized with `PointAnnotationManager.syncAnnotations(_:)`
124-
// method. To remove all annotations for specific `PointAnnotationManager`, call method below with
125-
// an empty array.
126-
pointAnnotationManager.syncAnnotations([finalDestinationAnnotation])
123+
// `PointAnnotation` changes must be applied to `PointAnnotationManager.annotations`
124+
// array. To remove all annotations for specific `PointAnnotationManager`, set an empty array.
125+
pointAnnotationManager.annotations = [finalDestinationAnnotation]
127126
}
128127
}
129128

@@ -141,7 +140,7 @@ extension CustomDestinationMarkerController: NavigationViewControllerDelegate {
141140
finalDestinationAnnotation.image = .default
142141
}
143142

144-
pointAnnotationManager.syncAnnotations([finalDestinationAnnotation])
143+
pointAnnotationManager.annotations = [finalDestinationAnnotation]
145144
}
146145

147146
func navigationViewControllerDidDismiss(_ navigationViewController: NavigationViewController, byCanceling canceled: Bool) {

Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
platform :ios, '11.0'
22
use_frameworks!
33

4-
pod 'MapboxCoreNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.0.0-beta.23'
5-
pod 'MapboxNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.0.0-beta.23'
4+
pod 'MapboxCoreNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.0.0-beta.25'
5+
pod 'MapboxNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.0.0-beta.25'
66

77
target 'Navigation-Examples' do
88
end

Podfile.lock

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
PODS:
2-
- MapboxCommon (16.2.0)
3-
- MapboxCoreMaps (10.0.0-rc.6):
4-
- MapboxCommon (~> 16.2)
5-
- MapboxCoreNavigation (2.0.0-beta.23):
6-
- MapboxDirections-pre (= 2.0.0-beta.8)
2+
- MapboxCommon (17.1.0)
3+
- MapboxCoreMaps (10.0.0-rc.7.2):
4+
- MapboxCommon (~> 17.1)
5+
- MapboxCoreNavigation (2.0.0-beta.25):
6+
- MapboxDirections-pre (= 2.0.0-beta.9)
77
- MapboxMobileEvents (~> 1.0.0)
8-
- MapboxNavigationNative (~> 63.0)
8+
- MapboxNavigationNative (~> 65.0)
99
- Turf (= 2.0.0-rc.1)
10-
- MapboxDirections-pre (2.0.0-beta.8):
10+
- MapboxDirections-pre (2.0.0-beta.9):
1111
- Polyline (~> 5.0)
1212
- Turf (~> 2.0.0-rc.1)
13-
- MapboxMaps (10.0.0-rc.6):
14-
- MapboxCommon (= 16.2.0)
15-
- MapboxCoreMaps (= 10.0.0-rc.6)
13+
- MapboxMaps (10.0.0-rc.7):
14+
- MapboxCommon (= 17.1.0)
15+
- MapboxCoreMaps (= 10.0.0-rc.7.2)
1616
- MapboxMobileEvents (= 1.0.2)
1717
- Turf (= 2.0.0-rc.1)
1818
- MapboxMobileEvents (1.0.2)
19-
- MapboxNavigation (2.0.0-beta.23):
20-
- MapboxCoreNavigation (= 2.0.0-beta.23)
21-
- MapboxMaps (= 10.0.0-rc.6)
19+
- MapboxNavigation (2.0.0-beta.25):
20+
- MapboxCoreNavigation (= 2.0.0-beta.25)
21+
- MapboxMaps (= 10.0.0-rc.7)
2222
- MapboxMobileEvents (~> 1.0.0)
2323
- MapboxSpeech-pre (= 2.0.0-alpha.1)
2424
- Solar-dev (~> 3.0)
25-
- MapboxNavigationNative (63.0.0):
26-
- MapboxCommon (~> 16.2)
25+
- MapboxNavigationNative (65.0.1):
26+
- MapboxCommon (~> 17.1)
2727
- MapboxSpeech-pre (2.0.0-alpha.1)
2828
- Polyline (5.0.2)
2929
- Solar-dev (3.0.1)
3030
- Turf (2.0.0-rc.1)
3131

3232
DEPENDENCIES:
33-
- MapboxCoreNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, tag `v2.0.0-beta.23`)
34-
- MapboxNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, tag `v2.0.0-beta.23`)
33+
- MapboxCoreNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, tag `v2.0.0-beta.25`)
34+
- MapboxNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, tag `v2.0.0-beta.25`)
3535

3636
SPEC REPOS:
3737
trunk:
@@ -49,33 +49,33 @@ SPEC REPOS:
4949
EXTERNAL SOURCES:
5050
MapboxCoreNavigation:
5151
:git: https://github.com/mapbox/mapbox-navigation-ios.git
52-
:tag: v2.0.0-beta.23
52+
:tag: v2.0.0-beta.25
5353
MapboxNavigation:
5454
:git: https://github.com/mapbox/mapbox-navigation-ios.git
55-
:tag: v2.0.0-beta.23
55+
:tag: v2.0.0-beta.25
5656

5757
CHECKOUT OPTIONS:
5858
MapboxCoreNavigation:
5959
:git: https://github.com/mapbox/mapbox-navigation-ios.git
60-
:tag: v2.0.0-beta.23
60+
:tag: v2.0.0-beta.25
6161
MapboxNavigation:
6262
:git: https://github.com/mapbox/mapbox-navigation-ios.git
63-
:tag: v2.0.0-beta.23
63+
:tag: v2.0.0-beta.25
6464

6565
SPEC CHECKSUMS:
66-
MapboxCommon: 4fd3d1f439655efbe0108ecd45406924054071aa
67-
MapboxCoreMaps: 045ecad9bb77931e221edc122a66848d778ea87c
68-
MapboxCoreNavigation: 4184e9283aa8654d03d900dbf1813af6c1697b6e
69-
MapboxDirections-pre: ac837a27e6f023ea9abcc00dff53d17b080023d2
70-
MapboxMaps: de9ac5e180c0a5957619a8642b96767108d2f9b4
66+
MapboxCommon: ea64a4842f40e8397d6270df379a17afb04e941c
67+
MapboxCoreMaps: ebc8bbb2a2f25874835196544448771d7e35a385
68+
MapboxCoreNavigation: 7d26e170318606bb89799be9e663b5cc01104278
69+
MapboxDirections-pre: 6fcda7a8ad0c37c69e83f813aff46af0c2bba9ec
70+
MapboxMaps: 8b98ffdaa3fd8ee742d44f86ed7296a72e40649c
7171
MapboxMobileEvents: 9775eb995e06cc3ea10894bf6ab111683c8e73e7
72-
MapboxNavigation: cd28ef804d6025d23ad9d3a935ab0273f7163dec
73-
MapboxNavigationNative: d39a190372ae296c587283799fa5e0067912b32d
72+
MapboxNavigation: c0f0bdd3f4e94e6c831bfe148064e681e2829f12
73+
MapboxNavigationNative: 9ea23bfc26a8c54914f40493ede01cc3932c5c63
7474
MapboxSpeech-pre: aeb16de604d07ceb4195150c3359d5401bb298e6
7575
Polyline: fce41d72e1146c41c6d081f7656827226f643dff
7676
Solar-dev: 4612dc9878b9fed2667d23b327f1d4e54e16e8d0
7777
Turf: 4efd14674a1a2f9527b7c0aadde8003a7b73b1be
7878

79-
PODFILE CHECKSUM: 8583ba3f9799928a31522d48c95ee7f71f16e967
79+
PODFILE CHECKSUM: 6460fb58eb1fdd44fb04f454f6a8cd8bdfeb3de4
8080

81-
COCOAPODS: 1.10.2
81+
COCOAPODS: 1.11.0

0 commit comments

Comments
 (0)