implemented layered tile map