Fix osmo position

This commit is contained in:
Victor Shcherb 2014-06-08 22:46:10 +02:00
parent a00a477415
commit 0fd759e294

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()), pointOuter);
canvas.drawCircle(x, y, r - (float)Math.ceil(tb.getDensity()), pointInnerCircle); canvas.drawCircle(x, y, r - (float)Math.ceil(tb.getDensity()), pointInnerCircle);
paintTextIcon.setTextSize(r * 3 / 2); 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, paintTextIcon);
} }
} }
} }