Dont draw general gpx segment on the map
This commit is contained in:
parent
d71ab48209
commit
50928a7214
1 changed files with 1 additions and 1 deletions
|
@ -921,7 +921,7 @@ public class GPXUtilities {
|
||||||
for (Track t : tracks) {
|
for (Track t : tracks) {
|
||||||
int trackColor = t.getColor(getColor(0));
|
int trackColor = t.getColor(getColor(0));
|
||||||
for (TrkSegment ts : t.segments) {
|
for (TrkSegment ts : t.segments) {
|
||||||
if (ts.points.size() > 0) {
|
if (!ts.generalSegment && ts.points.size() > 0) {
|
||||||
TrkSegment sgmt = new TrkSegment();
|
TrkSegment sgmt = new TrkSegment();
|
||||||
tpoints.add(sgmt);
|
tpoints.add(sgmt);
|
||||||
sgmt.points.addAll(ts.points);
|
sgmt.points.addAll(ts.points);
|
||||||
|
|
Loading…
Reference in a new issue