Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draw long route on map stuck UI #995

Closed
KinjalDhamat312 opened this issue Jun 6, 2018 · 1 comment
Closed

Draw long route on map stuck UI #995

KinjalDhamat312 opened this issue Jun 6, 2018 · 1 comment

Comments

@KinjalDhamat312
Copy link

Hello,
I am referring mapbox-navigation-android demo for turn-by-turn navigation. When I have selected small route every thing work fine. but while route was long UI and progress dialog stuck. I am using following code to fetch route.

 Point origin = Point.fromLngLat(76.2711, 10.8505);
 Point destination = Point.fromLngLat(72.5714, 23.0225);

 NavigationRoute.Builder builder = NavigationRoute.builder()
                .accessToken(Mapbox.getAccessToken())
                .origin(origin)
                .destination(destination)
                .alternatives(true);
 setFieldsFromSharedPreferences(builder);
 builder.build() .getRoute(this);

Device to test : LG Nexus 5 (OS- 6.0.1)

Mapbox Navigation SDK version: 6.0.1

Expected behavior

UI is not stuck and progress dialog show smoothly.

Actual behavior

Progress dialog stuck and some time getting ANR dialog.

@danesfeder
Copy link
Contributor

Hey @kindsa thanks for your feedback here - this is a known issue and we are actively tracking with #704. Please keep an eye on this ticket as we debug what's going on with the longer routes. We appreciate your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants