Fix non-optimal route calculation
This commit is contained in:
parent
658b631559
commit
328de262b0
1 changed files with 2 additions and 2 deletions
|
@ -638,8 +638,8 @@ public class RoutingHelper {
|
|||
params.gpxRoute = gpxRoute;
|
||||
params.previousToRecalculate = previousRoute;
|
||||
params.leftSide = settings.LEFT_SIDE_NAVIGATION.get();
|
||||
params.optimal = settings.OPTIMAL_ROUTE_MODE.get();
|
||||
params.fast = settings.FAST_ROUTE_MODE.get();
|
||||
params.optimal = settings.OPTIMAL_ROUTE_MODE.getModeValue(mode);
|
||||
params.fast = settings.FAST_ROUTE_MODE.getModeValue(mode);
|
||||
params.type = settings.ROUTER_SERVICE.getModeValue(mode);
|
||||
params.mode = mode;
|
||||
params.ctx = app;
|
||||
|
|
Loading…
Reference in a new issue