Skip to content

Add missing RouteOptions to DirectionsBuilder#2573

Merged
Guardiola31337 merged 1 commit into
base-v0.42.1from
pg-2026-add-missing-route-options
Mar 11, 2020
Merged

Add missing RouteOptions to DirectionsBuilder#2573
Guardiola31337 merged 1 commit into
base-v0.42.1from
pg-2026-add-missing-route-options

Conversation

@Guardiola31337

@Guardiola31337 Guardiola31337 commented Mar 11, 2020

Copy link
Copy Markdown
Contributor

Description

This PR adds missing RouteOptions to DirectionsBuilder

Fixes #2026

  • I have added any issue links
  • I have added all related labels (bug, feature, new API(s), SEMVER, etc.)
  • I have added the appropriate milestone and project boards

Goal

The goal is to add the options not being carried through reroutes

Implementation

Add missing options to MapboxDirections.Builder in NavigationRoute.Builder#routeOptions

Testing

Please describe the manual tests that you ran to verify your changes

  • I have tested locally (including SNAPSHOT upstream dependencies if needed) through testapp/demo app and run all activities to avoid regressions
  • I have tested via a test drive, or a simulation/mock location app
  • New and existing unit tests pass locally with my changes

Checklist

cc @EricGeiler @sridharvenkatesan @ericaeckes @tsuz @danpat @zugaldia @Aurora-Boreal

@Guardiola31337 Guardiola31337 added this to the v0.43.0 milestone Mar 11, 2020
@Guardiola31337
Guardiola31337 requested a review from a team March 11, 2020 14:54
@Guardiola31337 Guardiola31337 self-assigned this Mar 11, 2020
@ericaeckes

Copy link
Copy Markdown

This is amazing - thank you for the updates team!

cc: @pjleonard37

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #2573 into base-v0.42.1 will decrease coverage by 0.03%.
The diff coverage is 20%.

@@                Coverage Diff                 @@
##             base-v0.42.1    #2573      +/-   ##
==================================================
- Coverage           40.93%   40.89%   -0.04%     
  Complexity           1340     1340              
==================================================
  Files                 286      286              
  Lines                9203     9216      +13     
  Branches              697      700       +3     
==================================================
+ Hits                 3767     3769       +2     
- Misses               5105     5115      +10     
- Partials              331      332       +1

@Guardiola31337

Copy link
Copy Markdown
Contributor Author

@korshaknn and @RingerJK we should make sure that we're parsing all the RouteOptions in 1.0 codebase cc'ing you as you've been working on this recently.

directionsBuilder.profile(options.profile());
}

if (options.alternatives() != null) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Guardiola31337
Guardiola31337 merged commit d2711cf into base-v0.42.1 Mar 11, 2020
@Guardiola31337
Guardiola31337 deleted the pg-2026-add-missing-route-options branch March 11, 2020 15:57
@Guardiola31337 Guardiola31337 mentioned this pull request Mar 16, 2020
9 tasks
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.

5 participants