GeolocationCoordinates:altitudeAccuracy 属性
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年7月.
GeolocationCoordinates 接口的 altitudeAccuracy 只读属性是一个严格为正的 double 值,表示以米为单位的 altitude(海拔高度)的精度(置信度为 95%)。如果接口实现不支持测量海拔高度,则返回 null。
值
一个正的 double 值,表示以米为单位的 altitude 的精度(置信度为 95%)。
规范
| Specification |
|---|
| Geolocation> # altitude-and-altitudeaccuracy-attributes> |