Fix letter position

This commit is contained in:
Victor Shcherb 2014-06-10 02:33:26 +02:00
parent af86bf453a
commit 152414aab1

View file

@ -154,7 +154,7 @@ public class OsMoPositionLayer extends OsmandMapLayer implements ContextMenuLaye
canvas.drawCircle(x, y, r + (float)Math.ceil(tb.getDensity()), pointOuter);
canvas.drawCircle(x, y, r - (float)Math.ceil(tb.getDensity()), pointInnerCircle);
paintTextIcon.setTextSize(r * 3 / 2);
canvas.drawText(t.getVisibleName().substring(0, 1).toUpperCase(), x, y + r, paintTextIcon);
canvas.drawText(t.getVisibleName().substring(0, 1).toUpperCase(), x, y + r / 2, paintTextIcon);
}
}
}