Google Maps handles road closures and detours by using real-time traffic data provided by various sources, including local transportation authorities, user reports, and Street View imagery.