Fix #10180
This commit is contained in:
parent
43fab472af
commit
1eba748e6a
1 changed files with 6 additions and 2 deletions
|
@ -519,7 +519,11 @@ public class OsmAndFormatter {
|
|||
result.append(r);
|
||||
} else if (outputFormat == MGRS_FORMAT) {
|
||||
MGRSPoint pnt = new MGRSPoint(new LatLonPoint(lat, lon));
|
||||
try {
|
||||
result.append(pnt.toFlavoredString(5));
|
||||
} catch (java.lang.Error e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
return result.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue