GeolocationCoordinates.latitude
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The GeolocationCoordinates.latitude
read-only property is a double
representing the latitude of the position in decimal degrees.
Value
A double
representing the latitude of the position in decimal degrees.
Specifications
Specification |
---|
Geolocation API # latitude-longitude-and-accuracy-attributes |
Browser compatibility
BCD tables only load in the browser