The dipole mapping method