Mapping magnetization states in ultrathin films with Dzyaloshinskii–Moriya interaction