This commit is contained in:
parent
1d04084297
commit
0fd3dedceb
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ public class RoutePlannerFrontEnd {
|
|||
}
|
||||
if (road != null) {
|
||||
if(!transportStop) {
|
||||
float prio = ctx.getRouter().defineSpeedPriority(road.road);
|
||||
float prio = Math.max(ctx.getRouter().defineSpeedPriority(road.road), 0.3f);
|
||||
if (prio > 0) {
|
||||
road.distSquare = (road.distSquare + GPS_POSSIBLE_ERROR * GPS_POSSIBLE_ERROR)
|
||||
/ (prio * prio);
|
||||
|
|
Loading…
Reference in a new issue