Firefox Tomorrow

web api instance property

GeolocationCoordinates: speed property

View on MDN ↗

Secure context

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also