A lawmaker says a large immigration detention camp in Texas is closed to visitors and attorneys due to a measles outbreak.