MagnetometerExternal Link

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Defines a concrete sensor interface to measure magnetic field in the X, Y and Z axis.

IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 0% of all users can use this feature, 0% fully supported, 0% partially supported
✓Supported
✗Not supported
Partial support
Behind a Flag