Fix opening split segments in analyze on map
This commit is contained in:
parent
d2105e135d
commit
64fad214f3
1 changed files with 10 additions and 8 deletions
|
@ -426,6 +426,7 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
|
|||
float r = 3 * tileBox.getDensity();
|
||||
for (int i = 0; i < xAxisPoints.size(); i++) {
|
||||
WptPt axisPoint = xAxisPoints.get(i);
|
||||
if (axisPoint != null) {
|
||||
if (axisPoint.getLatitude() >= latLonBounds.bottom
|
||||
&& axisPoint.getLatitude() <= latLonBounds.top
|
||||
&& axisPoint.getLongitude() >= latLonBounds.left
|
||||
|
@ -437,6 +438,7 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private int getFileColor(@NonNull SelectedGpxFile g) {
|
||||
return g.getColor() == 0 ? defPointColor : g.getColor();
|
||||
|
|
Loading…
Reference in a new issue