Coordinates.longitude

The Coordinates.longitude read-only property is a double representing the longitude of the position in decimal degrees.

Syntax

lon = coordinates.longitude

Specifications

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

Browser compatibility

3.5 (1.9.1)
Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support 5 (Yes) (Yes) 9 10.60
No support 15.0
16.0
5
4.0 (4)
Feature Android Chrome for Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? (Yes) (Yes) ? 10.60 ?

See also

Document Tags and Contributors

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