3D magnetic map