The Alps Electric HSCDTD008A Geomagnetic Sensors are designed for e-compass and mobile devices.
The small, 3 access, terrestrial magnetic sensors offer X, Y & Z access.
Learn more about Alps here: https://www.onlinecomponents.com/suppliers/alps-electric-350/