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 July 2015.
语法
lat = coordinates.latitude
规范
Specification |
---|
Geolocation # latitude-longitude-and-accuracy-attributes |
浏览器兼容性
BCD tables only load in the browser
参见
- Using geolocation
- The
Coordinates
interface it belongs to.