Coordinates.altitude

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The Coordinates.altitude read-only property is a double representing the altitude of the position in meters, relative to sea level. This value is null if the implementation cannot provide this data.

Syntax

alt = coordinates.altitude

Specifications

Specification Status Comment
Geolocation API
The definition of 'Coordinates.altitude' in that specification.
Recommendation Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support5 Yes3.59

16

10.6 — 15

5
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? Yes410.6 ? ?

See also

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, erikadoyle, Sebastianz, tregagnon, teoli
Last updated by: fscholz,