Coordinates.longitude
是個唯讀十進位的複數用來代表裝置經度的位置。
語法
lon = coordinates.longitude
規格
Specification | Status | Comment |
---|---|---|
Geolocation API The definition of 'Coordinates.longitude' in that specification. |
Recommendation | Initial specification. |
瀏覽器的相容性
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 | ? |
請參考
- Using geolocation
- 屬於
Coordinates
介面。