W3C Geolocation API support in Opera Presto 2.10

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.

  • User-enabled geolocation services are provided through Google Location Services (GLS). A user decides to share or not share their device location with a Web site based on trust; see section 4.2 of the W3C Geolocation API specification.
  • IP address and WiFi recognition are implemented.
    • IP address recognition works with GLS by recognizing your IP address and telling you the cordinates based on it.
    • WiFi recognition works with GLS by gathering and then sending a list of all nearby wireless networks including MAC (Media Access Control) address, SSID (Service set identifier) name, and signal strength, which returns your coordinates.
  • Further information:

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

Support

Opera Help

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