Fix saving compass rotation to exif
This commit is contained in:
parent
2ef973a0d0
commit
dc250cd768
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
||||||
rot -= 360;
|
rot -= 360;
|
||||||
}
|
}
|
||||||
int abs = (int) (Math.abs(rot) * 100.0);
|
int abs = (int) (Math.abs(rot) * 100.0);
|
||||||
String rotString = abs / 100f + "";
|
String rotString = abs + "/100";
|
||||||
setAttribute.invoke(exInstance, "GPSImgDirection", rotString);
|
setAttribute.invoke(exInstance, "GPSImgDirection", rotString);
|
||||||
}
|
}
|
||||||
if (loc != null && loc.hasAltitude()) {
|
if (loc != null && loc.hasAltitude()) {
|
||||||
|
|
Loading…
Reference in a new issue