v2.15.0
Packaging
- MapboxCoreNavigation now requires MapboxNavigationNative v148.x. (#4518)
- MapboxNavigation now requires MapboxMaps v10.15.0. (#4518)
Routing
- Route request timeout errors are now considered failures as opposed to cancellations.
RouterDelegate.router(_:didFailToRerouteWith:)
will be called in this case. (#4491)
CarPlay
- Added new
CarPlayManagerDelegate.carPlayManagerWillCancelPreview(_:configuration:)
delegate method to allow for customization of route cancellation behavior. Ifconfiguration.popToRoot
istrue
, thepopToRootTemplate
method is called to navigate to the root template. This change enhances the flexibility of route cancellation in CarPlay. (#4495) - Added
CarPlayMapViewController.userInfo
property to pass optional metadata to telemetry. (#4503)
Electronic horizon
Note: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
- Added
RoadObjectKind.unknown
for an unknown type of road object. (#4491)
Other changes
- Fixed an issue when starting
NavigationViewController
with injectedNavigationService
(for example via CarPlay) could result in alternative routes not showing on the map. (#4489) - Fixed an issue where the
EndOfRouteViewController
was not properly localized. (#4494) - Fix sending events to Native Telemetry on application termination. (#4508)
Documentation is available online or within Xcode.