Coveo for Sitecore 5 is now available!

GoogleApiPositionProvider

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>
Recommended Articles