# Module: ol/Geolocation

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/Geolocation

### Classes

GeolocationError
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 | Description
  --- | --- | ---
  `tracking` | boolean (defaults to false) | Start Tracking right after instantiation.
  `trackingOptions` | PositionOptions | undefined | Tracking options. See https://www.w3.org/TR/geolocation-API/#position_options_interface.
  `projection` | ProjectionLike | undefined | The projection the position is reported in.