voice hints update

This commit is contained in:
Arndt 2016-04-30 17:23:02 +02:00
parent ccf2eb28d3
commit 23d1812371
16 changed files with 564 additions and 102 deletions

View file

@ -41,6 +41,19 @@ public class BRouterWorker
RoutingContext rc = new RoutingContext();
rc.rawTrackPath = rawTrackPath;
rc.localFunction = profilePath;
String tiFormat = params.getString( "turnInstructionFormat" );
if ( tiFormat != null )
{
if ( "osmand".equalsIgnoreCase( tiFormat ) )
{
rc.turnInstructionMode = 3;
}
else if ( "locus".equalsIgnoreCase( tiFormat ) )
{
rc.turnInstructionMode = 2;
}
}
if ( nogoList != null )
{
rc.prepareNogoPoints( nogoList );