adjust angle limits for turn announcements to more customary figures
This commit is contained in:
parent
de21c7da6e
commit
f8107714b6
1 changed files with 7 additions and 7 deletions
|
@ -428,24 +428,24 @@ public class RouteProvider {
|
|||
}
|
||||
|
||||
|
||||
if(delta > 50 && delta < 310){
|
||||
if(delta > 45 && delta < 315){
|
||||
|
||||
if(delta < 70){
|
||||
if(delta < 60){
|
||||
type = TurnType.valueOf(TurnType.TSLL);
|
||||
description = getString(ctx, R.string.route_tsll);
|
||||
} else if(delta < 110){
|
||||
} else if(delta < 120){
|
||||
type = TurnType.valueOf(TurnType.TL);
|
||||
description = getString(ctx, R.string.route_tl);
|
||||
} else if(delta < 135){
|
||||
} else if(delta < 150){
|
||||
type = TurnType.valueOf(TurnType.TSHL);
|
||||
description = getString(ctx, R.string.route_tshl);
|
||||
} else if(delta < 225){
|
||||
} else if(delta < 210){
|
||||
type = TurnType.valueOf(TurnType.TU);
|
||||
description = getString(ctx, R.string.route_tu);
|
||||
} else if(delta < 250){
|
||||
} else if(delta < 240){
|
||||
description = getString(ctx, R.string.route_tshr);
|
||||
type = TurnType.valueOf(TurnType.TSHR);
|
||||
} else if(delta < 290){
|
||||
} else if(delta < 300){
|
||||
description = getString(ctx, R.string.route_tr);
|
||||
type = TurnType.valueOf(TurnType.TR);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue