remove points from routes

This commit is contained in:
Chumva 2018-07-19 14:46:40 +03:00
parent f1dc95f8f7
commit a771a03783

View file

@ -858,13 +858,6 @@ public class RouteProvider {
}
}
}
if (res.isEmpty()) {
for (Route r : gpxFile.routes) {
for (WptPt p : r.points) {
res.add(createLocation(p));
}
}
}
}
float[] distanceToEnd = new float[res.size()];
for (int i = res.size() - 2; i >= 0; i--) {