Coordinates.speed

Coordinates.speed 回傳唯讀的正複數代表速度,單位為公尺/秒。 如果裝置無法測量這個值則回傳 null。

語法

speed = coordinates.speed

規格

Specification Status Comment
Geolocation API
The definition of 'Coordinates.speed' in that specification.
Recommendation Initial specification.

瀏覽器的相容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 5 3.5 (1.9.1) 9 10.60
No support 15.0
16.0
5
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? 4.0 (4) ? 10.60 ?

請參考

文件標籤與貢獻者

此頁面的貢獻者: yachiehwu
最近更新: yachiehwu,