Virtual maps work by scanning the whole room for walls through LiDAR. Once done, a 3D map of the place is created for the benefit of live cleaning viewing.