Fix #1372
This commit is contained in:
parent
26cd31f060
commit
c72b279f38
1 changed files with 2 additions and 1 deletions
|
@ -247,7 +247,8 @@ public class RouteCalculationResult {
|
|||
int roundAboutEnd = prevLocationSize ;
|
||||
// take next name for roundabout (not roundabout name)
|
||||
while (lind < list.size() - 1 && list.get(lind).getObject().roundabout()) {
|
||||
roundAboutEnd++;
|
||||
roundAboutEnd += Math.abs(list.get(lind).getEndPointIndex()
|
||||
- list.get(lind).getStartPointIndex());
|
||||
lind++;
|
||||
}
|
||||
// Consider roundabout end.
|
||||
|
|
Loading…
Reference in a new issue