Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 804 Bytes

File metadata and controls

28 lines (18 loc) · 804 Bytes
title short-title slug page-type browser-compat
GeolocationCoordinates: speed property
speed
Web/API/GeolocationCoordinates/speed
web-api-instance-property
api.GeolocationCoordinates.speed

{{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