convert map tiles to new matrix drawing spec