incomplete fix, add FIXME
This commit is contained in:
parent
1611b7e819
commit
0349f8ea82
1 changed files with 2 additions and 1 deletions
|
@ -67,11 +67,12 @@ public class OsmAndFormatter {
|
|||
}
|
||||
}
|
||||
//Miles exceptions
|
||||
//FIXME (conversions missing)
|
||||
if (mc == MetricsConstants.MILES_AND_FOOTS && point == 1 / metersInSecondUnit && roundDist == 2000) {
|
||||
roundDist = 0.5f;
|
||||
} else if (mc == MetricsConstants.MILES_AND_YARDS && point == 1 / metersInSecondUnit && roundDist == 1000) {
|
||||
roundDist = 0.5f;
|
||||
} else if (mc == MetricsConstants.MILES_AND_YARDS && point == 1 / metersInSecondUnit && roundDist ==500) {
|
||||
} else if (mc == MetricsConstants.MILES_AND_YARDS && point == 1 / metersInSecondUnit && roundDist == 500) {
|
||||
roundDist = 0.25f;
|
||||
}
|
||||
return roundDist;
|
||||
|
|
Loading…
Reference in a new issue