MDN self-hosted library · e01.org

GeolocationCoordinates: speed property

Geolocation API

no runnable cells web-api-instance-property upstream source

Geolocation API

The speed read-only property of the 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

Browser compatibility

See also