Coveo Navigator Position Provider
Coveo Navigator Position Provider
In this article
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. |
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
This rendering doesn’t provide any options.
Sample HTML Output
<div class="CoveoNavigatorPositionProvider"></div>