Skip to content

v2.7.0

Compare
Choose a tag to compare
@jill-cardamon jill-cardamon released this 17 Aug 23:31
· 451 commits to main since this release
da6f81d

Changes since v2.6.0:

Packaging

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 to false. (#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 with NavigationOptions 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 to ProfileIdentifier.walking or ProfileIdentifier.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 update RouteProgress.distanceTraveled property during simulation. (#4043)
  • Added customActivityType to MapboxNavigationService initialization to allow overriding default activity type for location updates during this navigation session. Changed default activity type from automotiveNavigation to otherNavigation 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 and ResumeButton.borderColor properties that allow ResumeButton'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 properties countryCodeAlpha3, countryCode, roadIsClosed, longDescription, numberOfBlockedLanes, congestionLevel, affectedRoadNames when receiving RoadObject via Electronic Horizon. (#4045)
  • Fixed an issue where simulation inTunnels or onPoorGPS 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.