Coveo Navigator Position Provider
Coveo Navigator Position Provider
|
Legacy feature
The Coveo Hive Framework is now in maintenance mode and is no longer recommended for new implementations. To build new search experiences, use one of Coveo’s more modern, lightweight, and responsive libraries. To get started, see the Build search article. |
This rendering is used to resolve the current user position using the navigator geolocation API.
Usage notes
-
The Coveo Distance Resources rendering must first be added to the page. Subsequently, the Coveo Navigator Position Provider can be inserted in the Distance Providers placeholder of the Coveo Distance Resources rendering.
-
Recent versions of browsers require your site to be in HTTPS to use this API.
Data source options
The following table lists the available data source options for this rendering.
This rendering doesn’t provide any options.
Sample HTML Output
<div class="CoveoNavigatorPositionProvider"></div>