disabled multible wpt additions
This commit is contained in:
parent
625ff0c53f
commit
a2b5e2864a
1 changed files with 2 additions and 1 deletions
|
|
@ -1039,7 +1039,8 @@ public class RoutingEngine extends Thread {
|
||||||
throw new IllegalArgumentException(mwp.name + "-position not mapped in existing datafile");
|
throw new IllegalArgumentException(mwp.name + "-position not mapped in existing datafile");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (useDynamicDistance) {
|
// add beeline points when not already done
|
||||||
|
if (useDynamicDistance && !useNodePoints) {
|
||||||
List<MatchedWaypoint> waypoints = new ArrayList<>();
|
List<MatchedWaypoint> waypoints = new ArrayList<>();
|
||||||
for (int i = 0; i < unmatchedWaypoints.size(); i++) {
|
for (int i = 0; i < unmatchedWaypoints.size(); i++) {
|
||||||
MatchedWaypoint wp = unmatchedWaypoints.get(i);
|
MatchedWaypoint wp = unmatchedWaypoints.get(i);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue