Mapbox Navigation SDK 2.14.0-beta.1
Pre-release
Pre-release
mapbox-github-ci-writer-public-1
released this
26 May 21:31
·
213 commits
to main
since this release
Mapbox Navigation SDK 2.14.0-beta.1 - 26 May, 2023
Changelog
Changes between v2.13.0 and v2.14.0-beta.1
Features
- Added support for uncompressed memory mapped tiles that could be enabled via config options(turned off by default). #7197
Bug fixes and improvements
- Improved road snapping for the case when GPS signal is unstable. When GPS signal becomes unstable, LocationMatcherResult#isOffRoad stays false and LocationMatcherResult#enhancedLocation is snapped to a road, the effect takes place until stabilisation of GPS signal. #7197
- 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: #7102
val routesObserver = RoutesObserver {
routeLineAPI.setNavigationRoutes(result.navigationRoutes, mapboxNavigation.currentLegIndex()).apply {
routeLineView.renderRouteDrawData(mapboxMap.getStyle()!!, this)
}
}
- Fixed offline-online routes switch via route alternative observer for the case when new online route is the same as current offline. #7195
- Fixed
NavigationRoutes#waypoints
being null for EV offline fallback. #7165
Known issues ⚠️
NavigationRouteAlternativesObserver#onRouteAlternatives
could be called with an online alternative that is the same as current offline route except for its origin and annotations.
MapboxNavigation#getAlternativeMetadataFor
will return null for that alternative.
CallingMapboxNavigation#setNavigationRoutes(listOf(currentOfflinePrimaryRoute, newOnlineAlternative))
for that case won't make any effect as the alternative will be ignored.
Make sure that you implemented routes alternatives observers with respect to offline-online scenarios as documentation suggests.- Route refresh base URL is not set via
RouteOptions#baseUrl
. Instead,NavigationOptions#routingTilesOptions#tilesBaseUri
is used for refresh.
Other changes
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.14.0-beta.1
(release notes) - Mapbox Navigation Native
v135.0.0
- Mapbox Core Common
v23.6.0-beta.1
- Mapbox Java
v6.11.0
(release notes)