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

location.getSpeed() is always 0 #1518

Closed
liupeng826 opened this issue Nov 10, 2018 · 2 comments
Closed

location.getSpeed() is always 0 #1518

liupeng826 opened this issue Nov 10, 2018 · 2 comments
Assignees
Labels
bug Defect to be fixed.
Milestone

Comments

@liupeng826
Copy link

Mapbox Navigation SDK version:
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.23.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.23.0'

String string = String.format("%d\nMPH", (int) (location.getSpeed() * 2.2369));

here, location.getSpeed() is always 0.
I test when i driving, still 0. But no problem when i use 0.19.0.

@danesfeder
Copy link
Contributor

@liupeng826 👋 thank you for this report. #1522 was opened to address it

@ghost
Copy link

ghost commented Nov 12, 2018

I experimented the same issue with :

implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.21.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.21.0'

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

No branches or pull requests

2 participants