Fix point's text location of AIDL map layer
This commit is contained in:
parent
0763c78aba
commit
4401a569e4
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ public class AidlMapLayer extends OsmandMapLayer implements IContextMenuProvider
|
||||||
canvas.drawCircle(x, y, r + (float)Math.ceil(tileBox.getDensity()), pointOuter);
|
canvas.drawCircle(x, y, r + (float)Math.ceil(tileBox.getDensity()), pointOuter);
|
||||||
canvas.drawCircle(x, y, r - (float)Math.ceil(tileBox.getDensity()), pointInnerCircle);
|
canvas.drawCircle(x, y, r - (float)Math.ceil(tileBox.getDensity()), pointInnerCircle);
|
||||||
paintTextIcon.setTextSize(r * 3 / 2);
|
paintTextIcon.setTextSize(r * 3 / 2);
|
||||||
canvas.drawText(point.getShortName(), x, y + r / 2, paintTextIcon);
|
canvas.drawText(point.getShortName(), x, y + r * 2.5f, paintTextIcon);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue