Skip to content

Adjust API Milestone to handle new routes - #425

Merged
danesfeder merged 3 commits into
masterfrom
dan-reroute-apimilestone
Oct 27, 2017
Merged

danesfeder merged 3 commits into
masterfrom
dan-reroute-apimilestone

Conversation

@danesfeder

@danesfeder danesfeder commented Oct 26, 2017 •

Copy link
Copy Markdown
Contributor

Closes #419

  • still needs to properly detect new routes given previousRouteProgress and the current route progress

cc @ericrwolfe

@danesfeder danesfeder added the bug Defect to be fixed. label Oct 26, 2017
@danesfeder danesfeder added this to the v0.7.0 milestone Oct 26, 2017
@danesfeder danesfeder self-assigned this Oct 26, 2017
@danesfeder
danesfeder requested a review from cammace October 26, 2017 01:27
@danesfeder danesfeder added the ⚠️ DO NOT MERGE PR should not be merged! label Oct 26, 2017
@danesfeder danesfeder added ✓ ready for review and removed ⚠️ DO NOT MERGE PR should not be merged! labels Oct 26, 2017
*/
private boolean shouldBeVoiced(RouteProgress routeProgress, VoiceInstructions voice) {
return voice.distanceAlongGeometry()
>= routeProgress.currentLegProgress().currentStepProgress().distanceRemaining();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bsudekum @1ec5 Do you have any other logic for the voice announcements other than if the instruction distance along the geometry is >= to the current step distance remaining?

@danesfeder
danesfeder merged commit c8b3877 into master Oct 27, 2017
@danesfeder
danesfeder deleted the dan-reroute-apimilestone branch October 27, 2017 00:29
Grsmto pushed a commit to Grsmto/mapbox-navigation-android that referenced this pull request Oct 27, 2017
…android into fix-build

* 'master' of https://github.com/mapbox/mapbox-navigation-android:
  Adjust API Milestone to handle new routes (mapbox#425)
  Cancel notification when the service is destroyed, not just when notification button is clicked (mapbox#409)
  adds validation utils class (mapbox#424)
  Wait for map style to load before initializing run time styling (mapbox#423)
  Changed up NavigationRoute (mapbox#413)

# Conflicts:
#	libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/navigation/NavigationRoute.java
@danesfeder danesfeder mentioned this pull request Nov 13, 2017
9 tasks done
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

Successfully merging this pull request may close these issues.

2 participants