use start direction (provided by locus) as turncost bias
This commit is contained in:
parent
372673be7a
commit
fdf06cbdd0
5 changed files with 34 additions and 1 deletions
|
|
@ -60,6 +60,12 @@ public class BRouterWorker
|
|||
rc.turnInstructionMode = 2;
|
||||
}
|
||||
}
|
||||
|
||||
if ( params.containsKey( "direction" ) )
|
||||
{
|
||||
rc.startDirection = Integer.valueOf( params.getInt( "direction" ) );
|
||||
}
|
||||
|
||||
if ( nogoList != null )
|
||||
{
|
||||
rc.prepareNogoPoints( nogoList );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue