show the altitude at Properties too, if available
This commit is contained in:
parent
f09492a762
commit
4b2f457e7f
1 changed files with 7 additions and 0 deletions
|
@ -82,6 +82,13 @@ class PropertiesDialog() {
|
||||||
addProperty(R.string.gps_coordinates, "${latLon[0]}, ${latLon[1]}")
|
addProperty(R.string.gps_coordinates, "${latLon[0]}, ${latLon[1]}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val altitude = exif.getAltitude(0.0)
|
||||||
|
if (altitude != 0.0) {
|
||||||
|
activity.runOnUiThread {
|
||||||
|
addProperty(R.string.altitude, "${altitude}m")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue