Skip to content

Mapbox Navigation SDK 2.7.0-backports.2

Compare
Choose a tag to compare
@DzmitryFomchyn DzmitryFomchyn released this 14 Sep 18:21
be6f787

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 to MapboxRouteLineAPI#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: