URGENT FIX
git-svn-id: https://osmand.googlecode.com/svn/trunk@494 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
parent
f327faf918
commit
f829722b51
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ public class OsmandRenderer implements Comparator<MapRenderObject> {
|
||||||
if(icon.resId != 0){
|
if(icon.resId != 0){
|
||||||
Bitmap ico = BitmapFactory.decodeResource(context.getResources(), icon.resId);
|
Bitmap ico = BitmapFactory.decodeResource(context.getResources(), icon.resId);
|
||||||
if (ico != null) {
|
if (ico != null) {
|
||||||
cv.drawBitmap(ico, icon.x - bmp.getWidth() / 2, icon.y - bmp.getHeight() / 2, paintIcon);
|
cv.drawBitmap(ico, icon.x - ico.getWidth() / 2, icon.y - ico.getHeight() / 2, paintIcon);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue