TUOLUMNE CITY, Calif. -- A huge wildfire near Yosemite National Park in California continued to threaten San Francisco's water supply Monday, while officials warned that the blaze was so hot that it could send sparks into new, untouched areas.

Officials reported some progress. Stanislaus National Forest spokesman Jerry Snyder said containment of the fire was at 15 per cent Monday morning, up from 7 per cent the previous night. He said crews were helped by cooler temperatures caused at least in part by the shadow cast by the large plume of smoke.

The fire continued to grow, however, and was 234 square miles (606 sq. kilometres) in size -- covering more ground than the city of Chicago.

The fire, burning near one of the country's most popular national parks, edged within a mile (1.6 kilometre) of the source of San Francisco's drinking water and to some of the giant sequoia trees that are among the largest and oldest living things on earth. They can resist fire but were being sprinkled for protection.

The fire is now one of the biggest in California history, helped by inaccessible terrain, strong winds and bone-dry conditions. Strong winds threatened to push the blaze closer to nearby communities. About 4,500 structures remained under threat. At least 23 structures have been destroyed, though officials have not determined whether they were homes or rural outbuildings.

"This fire has continued to pose every challenge that there can be on a fire," said Daniel Berlant, a spokesman with the California Department of Forestry and Fire Protection.

The threat to San Francisco's utilities prompted Gov. Jerry Brown to declare a state of emergency for the city.

The extremely dry conditions have been caused by a lack of snow and rainfall this year. Investigators are trying to determine the cause of the fire.

The tourist mecca of Yosemite Valley remained open, clear of smoke and free from other signs of the fire that remained about 20 miles (32 kilometres) away.