THIS IS ARCHIVED DOCUMENTATION

GoogleApiPositionProvider

This component has been deprecated. You can replace your GoogleApiPositionProvider components with the NavigatorPositionProvider component.

This component is used to resolve the current position using the Google API.

You must provide your own Google API key to use this component.

This component requires the DistanceResources component to work properly.

Options

googleApiKey

Defines the API key to use for the Google Geolocation API.

This option is required.

The default value is undefined.

<div class="CoveoGoogleApiPositionProvider" data-google-api-key='{...}'></div>

Sample

<div class="CoveoGoogleApiPositionProvider"></div>