-
Notifications
You must be signed in to change notification settings - Fork 319
0.31.0 Migration Guide
Dan Nesfeder edited this page Mar 6, 2019
·
1 revision
- In this PR, we removed the
directionsProfile
field fromNavigationUiOptions
and, as a resultNavigationLauncherOptions
. This field was being ignored internally and a profile can still be chosen with theNavigationRoute
when 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.