Achieving high performance in synchrotron radiation light sources demands increased precision in fiducialization and alignment of insertion devices (IDs). Conventional sensor systems utilizing Hall probes for high-precision magnetic field measurements face limitations in determining the absolute position of the magnetic center of IDs. In this paper, the Magnetic Landmark (MLK), a novel solution based on a magnetized block structure, is designed to address this challenge. The MLK serves as an intermediary, establishing contact between the magnetic center of IDs and their externally accessible fiducials, thus enabling high-precision alignment. Through analysis of magnetic field distribution, self-calibration precision, and practical application of the MLK, the following conclusions are drawn: when the Hall probe is positioned within 0.5 mm of the magnetic field zero point inside the MLK, the measurement accuracy of the zero point for normal and skew quadrupole magnetic fields reaches 7 and 2 μm, respectively. Additionally, the self-measurement accuracy of the MLK is 10 and 4 μm in the transverse and vertical directions, respectively. These accuracies meet our usage requirements. The MLK demonstrates efficacy in aligning the magnetic center of High Energy Photon Source (HEPS) In-air undulators, achieving alignment accuracies of 16 μm in the transverse direction and 11 μm in the vertical direction, surpassing the 30 μm accuracy stipulated in the physical design. Furthermore, the device proves applicable for measuring the magnetic center of other types of HEPS insertion devices, including Cryogenic undulators.