Coordinates.latitude
>Coordinates.latitude 只读属性,十进制双精度浮点数来表示纬度坐标
语法
lat = coordinates.latitude
规范
| 规范 |
|---|
| Geolocation> # latitude-longitude-and-accuracy-attributes> |
浏览器兼容性
参见
- Using geolocation
- The
Coordinatesinterface it belongs to.
此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
Coordinates.latitude 只读属性,十进制双精度浮点数来表示纬度坐标
lat = coordinates.latitude
| 规范 |
|---|
| Geolocation> # latitude-longitude-and-accuracy-attributes> |
Coordinates interface it belongs to.