-
Notifications
You must be signed in to change notification settings - Fork 320
0.31.0 Migration Guide
Dan Nesfeder edited this page Mar 6, 2019
·
1 revision
- In this PR, we removed the
directionsProfilefield fromNavigationUiOptionsand, as a resultNavigationLauncherOptions. This field was being ignored internally and a profile can still be chosen with theNavigationRoutewhen fetching aDirectionsRoute:
NavigationRoute.builder(this)
.accessToken(Mapbox.getAccessToken())
.origin(origin)
.destination(destination)
.profile(DirectionsCriteria.PROFILE_CYCLING)
.build()
The NavigationView will consider this same profile when re-routing or fetching faster routes.