v2.7.0
Packaging
- MapboxNavigation now requires MapboxMaps v10.7.x. (#4044)
- MapboxCoreNavigation now requires MapboxNavigationNative v111.x. (#4044)
Routing
- Fixed lost target and name fields in waypoints after rerouting, and the bearing calculation error during tunnel dead reckoning. (#4044)
Map
- Fixed
MapView
rendering issues that occur after the application returns to the foreground. (#1402) - Each alternative route shown during turn-by-turn navigation is now annotated with the amount of time it saves or adds to the trip. To hide these annotations, set the
NavigationMapView.showsRelativeDurationOnContinuousAlternativeRoutes
property tofalse
. (#3956) - Fixed the issue where the route line endpoint is ahead of user location indicator on short straight-line route step when
NavigationViewController.routeLineTracksTraversal
enabled in active navigation. (#3992) - Added the ability to provide duration and completion handler while visualizing routes using
NavigationMapView.showcase(_:animated:duration:completion:)
. (#4022) - Fixed an issue where the maneuver arrow is not removed after arriving to the final destination. (#4040)
- Fixed an issue where the destination building is not highlighted after rerouting. (#4034)
- Fixed an issue where the incorrect destination building is highlighted after panning the correct building off screen. (#4034)
- Fixed an issue where the maneuver arrow on the route line overlapped labels for points of interest. (#4030)
- Fixed an issue where
NavigationMapView
injected withNavigationOptions
isn't visible in active navigation. (#4049) - Fixed the crash caused by showing a route that doesn't contain coordinates. (#4046)
CarPlay
- During active navigation, the user can tap the "Alternatives" button in the navigation bar to switch to an alternative route. (#3956)
Banners and guidance instructions
- Added the
WayNameView.cornerRadius
property for customizing how the current road name is labeled. (#4004) - Reduced memory footprint while downloading road shield images. (#4020)
Location tracking
- Fixed an error when rerouting the user with
NavigationRouteOptions.profileIdentifier
set toProfileIdentifier.walking
orProfileIdentifier.cycling
. (#4024) - Fixed an issue where the user’s location continued to be snapped to a roadway even after the user’s course deviated significantly from that roadway, for example because the user was actually on a parallel road. (#4012)
- Fixed an issue when
RouteController
didn't updateRouteProgress.distanceTraveled
property during simulation. (#4043) - Added
customActivityType
toMapboxNavigationService
initialization to allow overriding default activity type for location updates during this navigation session. Changed default activity type fromautomotiveNavigation
tootherNavigation
for.automobile
and.automobileAvoidingTraffic
profiles. (#4068) - Added
NavigationSettings.navigatorPredictionInterval
to control how far ahead Navigator will predict user current position. (#4072)
Other changes
- Fixed the unmatched language issue of some localized strings in the feedback view. (#4007)
- Added
NavigationSettings.utilizeSensorData
toggle to allow navigator to use additional device sensors data for better positioning. (#3973) - Fixed the issue of restricted layer over the whole route after the removal of continuous alternative route with a small portion of restricted road class at start. (#4009)
- Added
ResumeButton.borderWidth
,ResumeButton.cornerRadius
andResumeButton.borderColor
properties that allowResumeButton
's style modification. (#3996) - Fixed a crash when dismissing
NavigationViewController
. (#4029) - Fixed an issue where
StyleManager
was not applying style on iPad. (#4039) - Added filling of
Incident
propertiescountryCodeAlpha3
,countryCode
,roadIsClosed
,longDescription
,numberOfBlockedLanes
,congestionLevel
,affectedRoadNames
when receivingRoadObject
via Electronic Horizon. (#4045) - Fixed an issue where simulation
inTunnels
oronPoorGPS
could teleport user puck to the route origin. (#4058) - Fixed an issue where the user location indicator moves out of view when approaching complex intersections. (#4070)
Documentation is available online or within Xcode.