RouteNotification type representing the notification object from the Directions API. RouteLeg now exposes a notifications property ([RouteNotification]?) that decodes constraint violation and alert notifications returned alongside route legs.RouteControllerNotificationUserInfoKey.shouldPlayRerouteSoundKey to the user info dictionary of Notification.Name.routeControllerDidReroute notification. (#4822)VisualInstructionDelegate.label(_:willPresent:as:) delegate method call during initialization.URLCache that could cause a crash.
Documentation is available online or within Xcode.legIndex was passed to NavigationController.switchLeg(newLegIndex:).MapMatchingState.[!IMPORTANT] A bug in the SDK's offline data management causes untracked data to accumulate instead of being removed under specific conditions. This leads to uncontrolled storage growth, potentially degrading system performance or causing complete unusability if disk space is exhausted. The required version for upgrade is 3.20.1 or any version from 3.21.0 onward.
RouteControllerNotificationUserInfoKey.shouldPlayRerouteSoundKey to the user info dictionary of Notification.Name.routeControllerDidReroute notification. (#4822)VisualInstructionDelegate.label(_:willPresent:as:) delegate method call during initialization.URLCache that could cause a crash.
Documentation is available online or within Xcode.DirectionsOptions.distanceMeasurementSystem in favor of the new DirectionsOptions.unitMeasurementSystem.DistanceFormatter.measurementSystem in favor of the new DistanceFormatter.unitMeasurementSystem.CoreConfig.unitOfMeasurement. Use DirectionsOptions.unitMeasurementSystem to set the unit system for a navigation session.MeasurementSystem and UnitOfMeasurement in favor of the new UnitMeasurementSystem.RouteOptions, MatchOptions, and MatrixOptions URL request parameters so that it only contains the supported variants.distanceRemaining and durationRemaining when starting active guidance.RoadGraph.Edge.Metadata properties by adding freeFlowSpeed, constrainedFlowSpeed, isFerry, isRoundabout, countryCodeISO3, surface and sapaType members.ElectronicHorizonConfig.enableEnhancedDataAlongEH option to allow requesting additional data from ADAS layer.RoadGraph.adasAttributes(edgeIdentifier:) to fetch ADASAttributes on a given edge.RoadObjectMatcher is removed. RoadObjectStore is extended to cover it's functionality instead. (Note: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes)NavigationMapView.traversedRouteColor was provided.[!IMPORTANT] A bug in the SDK's offline data management causes untracked data to accumulate instead of being removed under specific conditions. This leads to uncontrolled storage growth, potentially degrading system performance or causing complete unusability if disk space is exhausted. The required version for upgrade is 3.19.1, 3.20.1 or any version from 3.21.0 onward.
[!IMPORTANT] A bug in the SDK's offline data management causes untracked data to accumulate instead of being removed under specific conditions. This leads to uncontrolled storage growth, potentially degrading system performance or causing complete unusability if disk space is exhausted. The required version for upgrade is 3.18.3, 3.19.1, 3.20.1 or any version from 3.21.0 onward.
[!IMPORTANT] A bug in the SDK's offline data management causes untracked data to accumulate instead of being removed under specific conditions. This leads to uncontrolled storage growth, potentially degrading system performance or causing complete unusability if disk space is exhausted. The required version for upgrade is 3.18.3, 3.19.1, 3.20.1 or any version from 3.21.0 onward.
bearings parameter is not included by default in Map Matching API requests because it is not supported. Along with snapping_include_closures and snapping_include_static_closures, this parameter is supported only by the Directions API.Waypoint.snapping_include_closures and Waypoint.snapping_include_static_closures after encoding and decoding.