layer preloading looks for previously loaded layers