add support for tile layers