Save only speakable dirInfos to OsmAnd route GPX
This commit is contained in:
parent
601a2f1866
commit
4c5e8536cf
1 changed files with 1 additions and 1 deletions
|
@ -1076,7 +1076,7 @@ public class RouteProvider {
|
|||
gpx.routes.add(route);
|
||||
for (int i = cDirInfo; i < directionInfo.size(); i++) {
|
||||
RouteDirectionInfo dirInfo = directionInfo.get(i);
|
||||
if (dirInfo.routePointOffset >= cRoute) {
|
||||
if (dirInfo.routePointOffset >= cRoute && dirInfo.getTurnType() != null && !dirInfo.getTurnType().isSkipToSpeak()) {
|
||||
Location loc = routeNodes.get(dirInfo.routePointOffset);
|
||||
WptPt pt = new WptPt();
|
||||
pt.lat = loc.getLatitude();
|
||||
|
|
Loading…
Reference in a new issue