(CNN) A Los Angeles County resident visited Disneyland last week while infectious with measles, health officials said late Tuesday, potentially exposing hundreds of other people to the highly contagious disease.

The individual went to Starbucks at 3006 S. Spulveda Boulevard in West Los Angeles early on the morning on October 16 before going to Disneyland from 9.15 a.m. onwards, the Los Angeles County Department of Public Health said in a statement.

"Anyone who may have been at these locations on these dates during these timeframes may be at risk of developing measles for up to 21 days after being exposed," the statement said.

Measles can spread through coughing and sneezing and can live for up to two hours in the air where an infected person coughs or sneezes. As more details become available, the department said it would update information about exposure times and locations.

"For those who are not protected, measles is a highly contagious and potentially severe disease that initially causes fever, cough, red, watery eyes, and, finally, a rash," said Los Angeles County Health Officer Dr. Muntu Davis.

Read More