Round the ruler from 1 (not 5)
This commit is contained in:
parent
c42ce307de
commit
50e6eb83cd
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ public class OsmAndFormatter {
|
|||
}
|
||||
// 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000 ...
|
||||
|
||||
int generator = 5;
|
||||
byte pointer = 0;
|
||||
int generator = 1;
|
||||
byte pointer = 1;
|
||||
double point = mainUnitInMeter;
|
||||
while(distInMeters * point > generator){
|
||||
if (pointer++ % 3 == 2) {
|
||||
|
|
Loading…
Reference in a new issue