Magnetometer
Limited availability
The Magnetometer API reads magnetic field sensor data from the device's magnetometer.
Browser support
- Chrome Not supported
- Chrome Android Not supported
- Edge Not supported
- Firefox Not supported
- Firefox for Android Not supported
- Safari Not supported
- Safari on iOS Not supported
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
MDN documentation
Specifications
- Magnetometer, from Devices and Sensors Working Group (W3C).
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist