diff --git a/Navigation-Examples/Examples/Building-Extrusion.swift b/Navigation-Examples/Examples/Building-Extrusion.swift index 4e7b97fe..0cdace80 100644 --- a/Navigation-Examples/Examples/Building-Extrusion.swift +++ b/Navigation-Examples/Examples/Building-Extrusion.swift @@ -152,10 +152,10 @@ class BuildingExtrusionViewController: UIViewController, NavigationMapViewDelega func toggleDayNightStyle() { let style = navigationMapView.mapView?.mapboxMap.style - if style?.uri?.rawValue == MapboxMaps.Style.navigationNightStyleURL.absoluteString { - style?.uri = StyleURI(url: MapboxMaps.Style.navigationDayStyleURL) + if style?.uri == StyleURI.navigationNight { + style?.uri = StyleURI.navigationDay } else { - style?.uri = StyleURI(url: MapboxMaps.Style.navigationNightStyleURL) + style?.uri = StyleURI.navigationNight } } diff --git a/Podfile b/Podfile index eeee49a1..a7ae448c 100644 --- a/Podfile +++ b/Podfile @@ -1,8 +1,8 @@ platform :ios, '11.0' use_frameworks! -pod 'MapboxCoreNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.0.0-beta.25' -pod 'MapboxNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.0.0-beta.25' +pod 'MapboxCoreNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.0.0-rc.1' +pod 'MapboxNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.0.0-rc.1' target 'Navigation-Examples' do end diff --git a/Podfile.lock b/Podfile.lock index 1df866cf..69665b4c 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -2,12 +2,12 @@ PODS: - MapboxCommon (17.1.0) - MapboxCoreMaps (10.0.0-rc.7.2): - MapboxCommon (~> 17.1) - - MapboxCoreNavigation (2.0.0-beta.25): - - MapboxDirections-pre (= 2.0.0-beta.9) + - MapboxCoreNavigation (2.0.0-rc.1): + - MapboxDirections-pre (= 2.0.0-rc.1) - MapboxMobileEvents (~> 1.0.0) - MapboxNavigationNative (~> 65.0) - Turf (= 2.0.0-rc.1) - - MapboxDirections-pre (2.0.0-beta.9): + - MapboxDirections-pre (2.0.0-rc.1): - Polyline (~> 5.0) - Turf (~> 2.0.0-rc.1) - MapboxMaps (10.0.0-rc.7): @@ -16,22 +16,22 @@ PODS: - MapboxMobileEvents (= 1.0.2) - Turf (= 2.0.0-rc.1) - MapboxMobileEvents (1.0.2) - - MapboxNavigation (2.0.0-beta.25): - - MapboxCoreNavigation (= 2.0.0-beta.25) + - MapboxNavigation (2.0.0-rc.1): + - MapboxCoreNavigation (= 2.0.0-rc.1) - MapboxMaps (= 10.0.0-rc.7) - MapboxMobileEvents (~> 1.0.0) - - MapboxSpeech-pre (= 2.0.0-alpha.1) + - MapboxSpeech-pre (= 2.0.0-rc.1) - Solar-dev (~> 3.0) - - MapboxNavigationNative (65.0.1): + - MapboxNavigationNative (65.0.2): - MapboxCommon (~> 17.1) - - MapboxSpeech-pre (2.0.0-alpha.1) + - MapboxSpeech-pre (2.0.0-rc.1) - Polyline (5.0.2) - Solar-dev (3.0.1) - Turf (2.0.0-rc.1) DEPENDENCIES: - - MapboxCoreNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, tag `v2.0.0-beta.25`) - - MapboxNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, tag `v2.0.0-beta.25`) + - MapboxCoreNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, tag `v2.0.0-rc.1`) + - MapboxNavigation (from `https://github.com/mapbox/mapbox-navigation-ios.git`, tag `v2.0.0-rc.1`) SPEC REPOS: trunk: @@ -49,33 +49,33 @@ SPEC REPOS: EXTERNAL SOURCES: MapboxCoreNavigation: :git: https://github.com/mapbox/mapbox-navigation-ios.git - :tag: v2.0.0-beta.25 + :tag: v2.0.0-rc.1 MapboxNavigation: :git: https://github.com/mapbox/mapbox-navigation-ios.git - :tag: v2.0.0-beta.25 + :tag: v2.0.0-rc.1 CHECKOUT OPTIONS: MapboxCoreNavigation: :git: https://github.com/mapbox/mapbox-navigation-ios.git - :tag: v2.0.0-beta.25 + :tag: v2.0.0-rc.1 MapboxNavigation: :git: https://github.com/mapbox/mapbox-navigation-ios.git - :tag: v2.0.0-beta.25 + :tag: v2.0.0-rc.1 SPEC CHECKSUMS: MapboxCommon: ea64a4842f40e8397d6270df379a17afb04e941c MapboxCoreMaps: ebc8bbb2a2f25874835196544448771d7e35a385 - MapboxCoreNavigation: 7d26e170318606bb89799be9e663b5cc01104278 - MapboxDirections-pre: 6fcda7a8ad0c37c69e83f813aff46af0c2bba9ec + MapboxCoreNavigation: 2fb44caf9209150b98c4c54d6b7195c0f0ea0849 + MapboxDirections-pre: 25013fec9715dbc17c1c1798da3105e9b3140cd9 MapboxMaps: 8b98ffdaa3fd8ee742d44f86ed7296a72e40649c MapboxMobileEvents: 9775eb995e06cc3ea10894bf6ab111683c8e73e7 - MapboxNavigation: c0f0bdd3f4e94e6c831bfe148064e681e2829f12 - MapboxNavigationNative: 9ea23bfc26a8c54914f40493ede01cc3932c5c63 - MapboxSpeech-pre: aeb16de604d07ceb4195150c3359d5401bb298e6 + MapboxNavigation: 0f01d8b618ace008d34c937c871e407117b48bd5 + MapboxNavigationNative: 09e1b6c86808df5e2e61842e8ad9067e3b587a47 + MapboxSpeech-pre: c2739e843762ac6b222fb7132ac71903aa750af3 Polyline: fce41d72e1146c41c6d081f7656827226f643dff Solar-dev: 4612dc9878b9fed2667d23b327f1d4e54e16e8d0 Turf: 4efd14674a1a2f9527b7c0aadde8003a7b73b1be -PODFILE CHECKSUM: 6460fb58eb1fdd44fb04f454f6a8cd8bdfeb3de4 +PODFILE CHECKSUM: 737cd40e86548e1b75a5dfc23d1fcb5feadfa392 COCOAPODS: 1.11.0