load tilemap without tile, the app crash!!! 关于地图分块加载的问题

I want to load the tiles in runtime (call the setTileGID method), but I found that If the tmx tilemap has no tiles, the app crash! My question is that why can’t we load the tmx tile map without no tile if we set tile in runtime???
我最近在处理一个地图分块加载的问题 每次移动地图的时候 只加载屏幕可见区域内的地图瓦片 其它地图位置不在屏幕可见区域内的不加载 但是 我发觉 如果tmx地图在地图编辑器一开始的时候一块瓦片也不加 留到代码里面运行时去加载的话 添加地图的时候程序会死掉。我的问题是 为什么cocos2d-x不允许我们去加载一个没有瓦片的地图 而在运行时在有选择性地加载呢?