Skip to content

Reroute drops waypoints in new route #609

Description

@konskoehler

I want to navigate along a route with 2 additional waypoints. All goes well until a reroute event occurs. Unfortunately the newly generated route does not contain these waypoints anymore. The new route leads straight to the destination ignoring the waypoints.

Bug occurs using:

compile('com.mapbox.mapboxsdk:mapbox-android-sdk:5.2.1@aar') {
 transitive=true 
}
compile 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.8.0-beta.1'
compile ('com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.8.0-beta.1') {
 transitive = true
}
NavigationViewOptions options = NavigationViewOptions.builder()
                .shouldSimulateRoute(shouldSimulateRoute)
                .directionsRoute(route)
                .directionsProfile(DirectionsCriteria.PROFILE_DRIVING)
                .build();

        if (route != null) {
            NavigationLauncher.startNavigation(this, options);
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions