v2.18.0
·
26 commits
to release-v2.18
since this release
Packaging
- MapboxNavigation now requires MapboxMaps v10.17.0. (#4628)
- MapboxCoreNavigation now requires MapboxDirections v2.12.0. (#4605)
- MapboxCoreNavigation now requires MapboxNavigationNative v204.x. (#4628)
- MapboxCoreNavigation is no longer dependent on MapboxMobileEvents. (#4572)
- Added a Polish localization. (#4582)
Routing
NavigationRouteOptionsandNavigationMatchOptionsno longer include.numericCongestionLevelattribute by default for profiles other than.automobileAvoidingTraffic. (#4564)- Fixed an issue where the
.speedLimitKeykey in the.passiveLocationManagerDidUpdatenotification contained0on roads with no speed limit. The value is now correctly set toDouble.infinity. (#4584)
Map
- Fixed a possible crash that could happen when displaying the route with the same source, midpoint, and destination. (#4576)
- Fixed an incorrect viewport padding in the overview route camera. (#4593)
User interface
BottomBannerViewController.dateFormatter,BottomBannerViewController.dateComponentsFormatter,BottomBannerViewController.distanceFormatterandInstructionsBannerView.distanceFormatterare now public. (#4595)
CarPlay
- Added the ability to configure
CPMapTemplate.guidanceBackgroundColorvia delegate method. (#4620) - Added the ability to configure waypoints via
CarPlayManagerDelegateobject. (#4606)
Other changes
- Added PrivacyInfo.xcprivacy support. (#4573)
- Removed
NavigationEventsManager.init(activeNavigationDataSource:passiveNavigationDataSource:accessToken:mobileEventsManager:)in favor ofNavigationEventsManager.init(activeNavigationDataSource:passiveNavigationDataSource:accessToken:). (#4572) - Fixed a rare issue that could lead to memory corruption under specific conditions. This was resolved by replacing the internal image downloader with brand new actor-based implementation. (#4588)
- Fixed the possible situation when the upcoming route leg is rendered above the active route leg. (#4588)
- Fixed a main thread hang on NavigationViewController creation. (#4617)
- Fixed error reporting in
RouteController/reroute(from:along:). (#4618)
Documentation is available online or within Xcode.