Mapbox Navigation SDK 2.7.0-backports.2
Changelog
Changes between v2.7.0 and v2.7.0-backports.2
Bug fixes and improvements
- Improved inactive leg independent styling: now the inactive leg will be styled differently right away, not only when the route progress updates begin.
- Added
MapboxNavigation#currentLegIndex
. Use this method to correctly pass leg index toMapboxRouteLineAPI#setNavigationRoutes
method, this is especially important if you use independent inactive leg styling:
val routesObserver = RoutesObserver {
routeLineAPI.setNavigationRoutes(result.navigationRoutes, mapboxNavigation.currentLegIndex()).apply {
routeLineView.renderRouteDrawData(mapboxMap.getStyle()!!, this)
}
}
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.7.0
(release notes) - Mapbox Navigation Native
v111.0.0-backports.2
- Mapbox Core Common
v22.1.0
- Mapbox Java
v6.7.0
(release notes) - Mapbox Android Core
v5.0.2
(release notes) - Mapbox Android Telemetry
v8.1.5
(release notes)