Module: ol/Geolocation

ol/Geolocation


Classes

Geolocation

Type Definitions

GeolocationObjectEventTypes{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 ProjectionLike <optional>

The projection the position is reported in.