GeolocationCoordinates: speed property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{securecontext_header}}{{APIRef("Geolocation API")}}
The **speed** read-only property of the {{domxref("GeolocationCoordinates")}} interface is a double representing the velocity of the device in meters per second. This value is null if the implementation is not able to measure it.
Value
A double representing the velocity of the device in meters per second.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- Using the Geolocation API
- {{domxref("GeolocationCoordinates")}}