Coveo Google Api Position Provider
Coveo Google Api Position Provider
In this article
|
This rendering has been deprecated. You can replace your Coveo Google API Position Provider renderings with the Coveo Navigator Position Provider 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.
-
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>