Mapping deflections of extragalactic ultrahigh-energy cosmic rays in magnetohydrodynamic simulations of the local universe