public void addData(TileMapParams aParam, byte []aData) {
        synchronized(iData) {
            
            if(aParam.getTileMapType() == TileMapParams.MAP) {
            
                
                if(LOG.isError()) {
                    if(iData[aParam.getImportance()] != null) {
                        LOG.error("TileMapLayerWrapper.addData()", "Add a imp that isn't empty:" +
                                " paramString= "+aParam.getAsString()+
                                " imp= "+aParam.getImportance());
                    }
                }
                
                iData[aParam.getImportance()] = aData;
                iParamsToCache[aParam.getImportance()] = aParam;
            } else {
                
                if(LOG.isError()) {
                    if(iData[iMaxNbrOfImportance+aParam.getImportance()] != null) {
                        LOG.error("TileMapLayerWrapper.addData()", "Add a imp that isn't empty:" +
                                " paramString= "+aParam.getAsString()+
                                " imp= "+aParam.getImportance());                   
                    }
                }
                
                iData[iMaxNbrOfImportance+aParam.getImportance()] = aData;
                iParamsToCache[iMaxNbrOfImportance+aParam.getImportance()] = aParam;
            }           
            iTotalCacheSize += aData.length;
            iNbrOfImpToCache++;         
        }
    }