- Notifications
You must be signed in to change notification settings - Fork320
0.31.0 Migration Guide
Dan Nesfeder edited this pageMar 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()TheNavigationView will consider this same profile when re-routing or fetching faster routes.