GeolocationCoordinates: accuracy property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{securecontext_header}}{{APIRef("Geolocation API")}}
The **accuracy** read-only property of the {{domxref("GeolocationCoordinates")}} interface is a strictly positive double representing the accuracy, with a 68% confidence level, of the {{domxref("GeolocationCoordinates.latitude")}} and {{domxref("GeolocationCoordinates.longitude")}} properties expressed in meters.
Value
A positive double representing the accuracy, with a 68% confidence level, of the {{domxref("GeolocationCoordinates.latitude")}} and {{domxref("GeolocationCoordinates.longitude")}} properties expressed in meters.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- Using the Geolocation API
- {{domxref("GeolocationCoordinates")}}