parent
51dc7fb1fb
commit
13a41bd9f8
2 changed files with 44 additions and 39 deletions
|
|
@ -64,10 +64,13 @@ public class BRouterWorker {
|
|||
rc.turnInstructionMode = params.getInt("timode");
|
||||
}
|
||||
|
||||
|
||||
if (params.containsKey("direction")) {
|
||||
rc.startDirection = params.getInt("direction");
|
||||
}
|
||||
if (params.containsKey("heading")) {
|
||||
rc.startDirection = params.getInt("heading");
|
||||
rc.forceUseStartDirection = true;
|
||||
}
|
||||
if (params.containsKey("alternativeidx")) {
|
||||
rc.alternativeIdx = params.getInt("alternativeidx");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue