diff --git a/OsmAnd/src/net/osmand/plus/views/MapTileLayer.java b/OsmAnd/src/net/osmand/plus/views/MapTileLayer.java index 6a0f193381..987c085ba9 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapTileLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapTileLayer.java @@ -127,6 +127,7 @@ public class MapTileLayer extends BaseMapLayer { } public void drawTileMap(Canvas canvas, RotatedTileBox tileBox) { + ITileSource map = this.map; if(map == null){ return; }