Coordinates.latitude
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年7月.
Coordinates.latitude 只读属性,十进制双精度浮点数来表示纬度坐标
语法
lat = coordinates.latitude
规范
| Specification |
|---|
| Geolocation> # latitude-longitude-and-accuracy-attributes> |
浏览器兼容性
Loading…
参见
- Using geolocation
- The
Coordinatesinterface it belongs to.