Is there a standard way the speed attribute in the GeolocatinCoordintes interface of the Geolocation is calculated by different browsers?
The latest W3 draft is rather vague and so are the mdn web docs about the subject.
Is there a standard way the speed attribute in the GeolocatinCoordintes interface of the Geolocation is calculated by different browsers?
The latest W3 draft is rather vague and so are the mdn web docs about the subject.
The introduction of the W3 spec you link to states this:
In other words, the web API specification does not and cannot prescribe where the actual data comes from nor guarantee its accuracy in any way; this is intentionally left up to each individual device implementing the specification, and may vary widely based on the available hardware. The
speedattribute described in the API merely allows the device to provide you a horizontal speed in meters per second. That's all. Nothing more, nothing less.