Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description tracking
boolean <optional>
false Start Tracking right after instantiation.
trackingOptions
PositionOptions <optional>
Tracking options. See http://www.w3.org/TR/geolocation-API/#position_options_interface.
projection
module:ol/proj~ProjectionLike <optional>
The projection the position is reported in.
Events
-
error
Geolocation.js, line 166 -
Triggered when the Geolocation returns an error.