URGENT FIX

git-svn-id: https://osmand.googlecode.com/svn/trunk@494 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
Victor Shcherb 2010-09-08 13:52:34 +00:00
parent f327faf918
commit f829722b51

View file

@ -158,7 +158,7 @@ public class OsmandRenderer implements Comparator<MapRenderObject> {
if(icon.resId != 0){
Bitmap ico = BitmapFactory.decodeResource(context.getResources(), icon.resId);
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);
}
}
}