diff --git a/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java index 52c4693d29..8b169d1522 100644 --- a/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java +++ b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java @@ -382,10 +382,16 @@ public class OsmandRenderer { } protected void drawBitmap(Canvas cv, Bitmap ico, RectF rf) { + if(ico == null) { + return; + } cv.drawBitmap(ico, rf.left, rf.top, paintIcon); } protected void drawBitmap(Canvas cv, Bitmap ico, RectF rf, Rect src) { + if(ico == null) { + return; + } cv.drawBitmap(ico, src, rf, paintIcon); }