GeolocationCoordinates:accuracy 属性
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 接口的 accuracy 只读属性是一个严格为正的 double 值,表示 GeolocationCoordinates.latitude 和 GeolocationCoordinates.longitude 属性的精度(置信度为 95%,单位为米)。
值
一个正的 double 值,表示 GeolocationCoordinates.latitude 和 GeolocationCoordinates.longitude 属性的精度(置信度为 95%,单位为米)。
规范
| Specification |
|---|
| Geolocation> # latitude-longitude-and-accuracy-attributes> |