format the map to our new layout based on tiles