Coveo Google Api Position Provider

Warning
Legacy feature

This article pertains to the Coveo Hive framework which is now in maintenance mode.

Choose one of Coveo’s more modern, lightweight, and responsive libraries for any future search interface development. See the search interface Implementation guide for more details.

Important

This rendering has been deprecated. You can replace your Coveo Google API Position Provider renderings with the Coveo Navigator Position Provider rendering.

Coveo for Sitecore Specific Rendering This rendering is used to resolve the current user position using the Google API.

Usage notes

  • The Coveo Distance Resources rendering must first be added to the page. Subsequently, the Coveo Google API Position Provider can be inserted in the Distance Providers placeholder of the Coveo Distance Resources rendering.

    Placeholder distance providers | Coveo for Sitecore 5
  • You must provide your own Google API key to use this rendering.

Data source options

Option name Description

Google API key

The API key to use for the Google Geolocation API.

DOM unique ID

Randomly generated HTML element ID.

Sample HTML Output

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