Use Alt formatting, not Distance
This commit is contained in:
parent
1a8be5fc55
commit
2b23e311b1
1 changed files with 5 additions and 5 deletions
|
@ -223,11 +223,11 @@ public class LocalIndexHelper {
|
||||||
if(totalElevation != 0 || diffElevationUp != 0 || diffElevationDown != 0){
|
if(totalElevation != 0 || diffElevationUp != 0 || diffElevationDown != 0){
|
||||||
info.setDescription(info.getDescription() +
|
info.setDescription(info.getDescription() +
|
||||||
app.getString(R.string.local_index_gpx_info_elevation,
|
app.getString(R.string.local_index_gpx_info_elevation,
|
||||||
OsmAndFormatter.getFormattedDistance( (float) (totalElevation / points), app),
|
OsmAndFormatter.getFormattedAlt(totalElevation / points, app),
|
||||||
OsmAndFormatter.getFormattedDistance( (float) minElevation, app),
|
OsmAndFormatter.getFormattedAlt(minElevation, app),
|
||||||
OsmAndFormatter.getFormattedDistance( (float) maxElevation, app),
|
OsmAndFormatter.getFormattedAlt(maxElevation, app),
|
||||||
OsmAndFormatter.getFormattedDistance( (float) diffElevationUp, app),
|
OsmAndFormatter.getFormattedAlt(diffElevationUp, app),
|
||||||
OsmAndFormatter.getFormattedDistance( (float) diffElevationDown, app)));
|
OsmAndFormatter.getFormattedAlt(diffElevationDown, app)));
|
||||||
}
|
}
|
||||||
|
|
||||||
// 5. Max speed and Average speed, if any. Average speed is NOT overall (effective) speed, but only calculated for "moving" periods.
|
// 5. Max speed and Average speed, if any. Average speed is NOT overall (effective) speed, but only calculated for "moving" periods.
|
||||||
|
|
Loading…
Reference in a new issue