make tile download layer work