bindings/geolocation library
Geolocation API
Classes
- Geolocation
-
Secure context: This feature is available only in secure
contexts (HTTPS), in some or all supporting browsers.
The interface represents an object able to programmatically
obtain the position of the device. It gives Web content access to
the location of the device. This allows a Web site or app to
offer customized results based on the user's location.
An object with this interface is obtained using the
navigator.geolocation
property implemented by the Navigator object. - GeolocationCoordinates
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface represents the position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated.
- GeolocationPosition
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface represents the position of the concerned device at a given time. The position, represented by a GeolocationCoordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed.
- GeolocationPositionError
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface represents the reason of an error occurring when using the geolocating device.
- PositionOptions