Maryland health officials are warning that people who visited several locations in Ocean City earlier this month may have been exposed to measles.