(CNN)In Las Vegas, the Catholic Charities' homeless shelter has long served as a facility for people in need of accommodations.
Las Vegas homeless people are sleeping in a parking lot -- six feet apart
But after one homeless man who used the facility tested positive for coronavirus last week, the shelter was forced to close, leaving 500 homeless people scrambling for a new place to stay. Even Courtyard Homeless Resource Center, a nearby open-air facility, was unable to take in more people as it was almost at capacity.
So City of Las Vegas and Clark County, Nevada officials decided to create a makeshift homeless shelter -- in the parking lot of Cashman Center.
Over the weekend, the parking lot of the center, which is normally a convention and baseball stadium complex, transformed into a sleeping space with help from volunteers.
But the sleeping arrangements ignited some backlash on Monday, after an image of homeless people circulated across social media. In the photo, a handful of people are seen lying in white boxes painted on the concrete floor -- six feet apart to enforce social distancing.
On Saturday, setting up the temporary shelter went smoothly.
About 50 volunteers laid out 24,000 square feet of carpet to create sleeping mats, according to the Las Vegas Review-Journal.
Nearly a dozen medical students from Touro University Nevada helped screen incoming guests, and took their temperatures.
"I'm about to cry," Denise Lankford, a homeless woman, told CNN affiliate KLAS. "This right here is helping us feel secure, feel safe. Other places, you don't feel safe."
The first night the shelter opened, 66 people slept there. But officials started to realize that the carpet could be more harmful than beneficial.
"We found that it was very difficult to disinfect and clean," David Riggleman, communications director for the City of Las Vegas, told CNN. "We had asked for sleeping mats, which we use at the Courtyard -- and those can be disinfected easily. But there were none to be had."
On Sunday, the amount of homeless people seeking shelter at the facility grew to 117.
Officials decided to swap out the carpet for concrete floor, and painted white boxes six feet apart from one another for homeless people to sleep in. The hope was to enforce social distancing, and prevent further spread of the coronavirus.
However, after pictures emerged of the new sleeping arrangements, many on social media criticized city officials.
"Horrid! Evidence of a failed society that cannot provide for its citizens the most basic of human needs," one Twitter user wrote.
"Las Vegas is putting homeless people in parking lots while the city's hotels are completely empty. For some reason, this photo sums up for me everything that is wrong with this country & its response to the COVID-19 crisis," another Twitter user said.
Riggleman said the city and Clark County are doing the best they can to deal with a situation that was thrust upon them when Catholic Charities closed its facility.
"I think our entire country has seen the fact that we can't manage this situation that we are in," Riggleman said. "It's not just the homeless. This has overwhelmed our resources everywhere and I think everybody is doing the best they can."
When asked why the actual Cashman Center wasn't used to temporarily house the homeless, Riggleman said the building was reserved for overflow hospital space.
He also said Catholic Charities plans to open its shelter by mid-week, at which point the temporary shelter will close.
Despite the recent criticism, Riggleman said he was proud of the fact that "so many people stepped in to help."
Clark County Commissioner Lawrence Weekly expressed similar gratitude toward community members who volunteered.
"We needed a solution to this problem quickly," Weekly said in a news release. "And I want to thank everyone involved for their hard work so that our homeless population has a place to sleep tonight."