Module: ol/Geolocation

ol/Geolocation


Classes

Geolocation

Members

Property{string}

Properties:
Name Type Default Description
ACCURACY string accuracy
ACCURACY_GEOMETRY string accuracyGeometry
ALTITUDE string altitude
ALTITUDE_ACCURACY string altitudeAccuracy
HEADING string heading
POSITION string position
PROJECTION string projection
SPEED string speed
TRACKING string tracking
TRACKING_OPTIONS string trackingOptions

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.