Fix NPE bug
This commit is contained in:
parent
618a0c413f
commit
79c9ca6281
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ public class MapTileLayer extends BaseMapLayer {
|
|||
}
|
||||
|
||||
public void drawTileMap(Canvas canvas, RotatedTileBox tileBox) {
|
||||
ITileSource map = this.map;
|
||||
if(map == null){
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue