Documentation is available online or within Xcode.
ProfileIdentifier comparison for the custom profile identifiers, so that route refresh is enabled for custom automobileAvoidingTraffic profiles.Documentation is available online or within Xcode.
ProfileIdentifier comparison for the custom profile identifiers, so that route refresh is enabled for custom automobileAvoidingTraffic profilesencode(to:) methods in DirectionsOptions, MatchOptions, RouteOptions, and others open classes are now declared as open instead of public.ProfileIdentifier comparison for the custom profile identifiers, so that route refresh is enabled for custom automobileAvoidingTraffic profiles.Documentation is available online or within Xcode.
@_spi(ExperimentalMapboxAPI) import MapboxNavigationCore. Enable it by setting NavigationMapView.apiRouteCalloutViewProviderEnabled to true, then configure using NavigationMapView.routeCalloutViewProvider property. New NavigationMapView.showRoutes(_:) and NavigationMapView.showcaseRoutes(_:routesPresentationStyle:animated:duration:) methods are available without routeAnnotationKinds parameter but original methods NavigationMapView.show(_:routeAnnotationKinds:) and NavigationMapView.showcase(_:routesPresentationStyle:routeAnnotationKinds:animated:duration:) also work and their routeAnnotationKinds parameter is ignored when NavigationMapView.apiRouteCalloutViewProviderEnabled is set to true.NavigationViewControllerDelegate.automaticallyAdjustsStyleForTimeOfDay is set to true.NavigationViewControllerDelegate.navigationViewController(_:didArriveAt:) was not called for intermediate waypoints.distanceUnit passed to the NavigationRouteOptions and NavigationMatchOptions initializers was not correctly applied to the distanceMeasurementSystem.SessionController.session was emitting Session updates with the same value (no state change).AVAudioSession handling for playback of the reroute sound and voice instructions. Activation and deactivation of AVAudioSession no longer occur on the main thread, and these operations are synchronized. This eliminates UI freezes that occurred to a lesser extent during activation and to a greater extent during deactivation.AVAudioSession.tryDuckAudio()AVAudioSession.tryUnduckAudio()Documentation is available online or within Xcode.
NavigationRoutes couldn't be created due to too similar alternatives.NavigationMapView.automaticallySetDeclarativeMapContent to false,NavigationMapView.navigationStyleContent updates,currentNavigationStyleContent to your MapStyleContent,setMapStyleContent(content:) with new map style content.For implementation details, refer to the Declarative-Map sample app.
Set NavigationMapView.useLegacyManualLayersOrderApproach to true to enable legacy manual layer order calculation.
startLegIndex when checking the waypoints for billing session for multiwaypoint routes. The SDK now correctly supports resuming a previous active guidance billing session when startLegIndex is greater than 0.MapboxSpeechSynthesizer.prepareIncomingSpokenInstructions(_:) and MapboxSpeechSynthesizer.speak(_:during:) are deprecated in favor of MapboxSpeechSynthesizer.prepareIncomingSpokenInstructions(_:locale:) and MapboxSpeechSynthesizer.speak(_:during:locale:).CarPlayNavigationViewController, trip travel estimates now show 1 instead of 0 minutes remaining when there is less than 1 minute remaining.RerouteConfig.rerouteStrategyForMatchRoute to configure rerouting behavior with map-matched routes.NavigationMapView.routeAnnotationCaptionTextFontNavigationMapView.routeAnnotationCaptionTextColorNavigationMapView.routeAnnotationSelectedCaptionTextColorRouteOptions.locale for on-device speech synthesizing if the Mapbox Voice API does not support the requested language.MapboxSpeechSynthesizer.prepareIncomingSpokenInstructions(_:) and MapboxSpeechSynthesizer.speak(_:during:) are deprecated in favor of MapboxSpeechSynthesizer.prepareIncomingSpokenInstructions(_:locale:) and MapboxSpeechSynthesizer.speak(_:during:locale:).CarPlayNavigationViewController, trip travel estimates now show 1 instead of 0 minutes remaining when there is less than 1 minute remaining.RerouteConfig.rerouteStrategyForMatchRoute to configure rerouting behavior with map-matched routes.NavigationMapView.routeAnnotationCaptionTextFontNavigationMapView.routeAnnotationCaptionTextColorNavigationMapView.routeAnnotationSelectedCaptionTextColorRouteOptions.locale for on-device speech synthesizing if the Mapbox Voice API does not support the requested language.