Module: ol/Geolocation

ol/Geolocation


Classes

Geolocation

Type Definitions

GeolocationObjectEventTypes{module:ol/ObjectEventType~Types} {'change:accuracy'} {'change:accuracyGeometry'} {'change:altitude'} {'change:altitudeAccuracy'} {'change:heading'} {'change:position'} {'change:projection'} {'change:speed'} {'change:tracking'} {'change:trackingOptions'}

Options{Object}

Properties:
Name Type Argument Default Description
tracking boolean <optional>
false

Start Tracking right after instantiation.

trackingOptions PositionOptions <optional>

Tracking options. See https://www.w3.org/TR/geolocation-API/#position_options_interface.

projection module:ol/proj~ProjectionLike <optional>

The projection the position is reported in.