W3C Geolocation API support in Opera Presto 2.9

W3C reference
W3C Geolocation API Specification
Opera article
How to use the W3C Geolocation API

Opera Presto provides support for the W3C Geolocation API Specification.

Please note that each property in the following data table is hyperlinked to its place in the online W3C Geolocation API Specification.

Interface Methods/Attributes Description Support
Geolocation Methods:
  • getCurrentPosition()
  • watchPosition()
This interface can be used by scripts to programmatically determine the location information associated with the hosting device. Yes
PositionOptions Attributes:
  • enableHighAccuracy¬†timeout
  • maximumAge
The getCurrentPosition() and watchPosition() methods accept PositionOptions interface objects as their third argument.. Yes
Position Attributes:
  • coords
  • timestamp
This interface is the container for the geolocation information returned by this API. Yes
Coordinates Attributes:
  • latitude
  • longitude
  • altitude
  • accuracy
  • altitudeAccuracy
  • heading
  • speed
The geographic coordinate reference system used by the attributes in this interface is the World Geodetic System (2d) [WGS84]. Yes
PositionError Attributes:
  • code
  • message
This interface provides error codes. Yes

Documentation

Opera Help

Need help? Hit F1 anytime while using Opera to access our online help files, or go here.