THIS IS ARCHIVED DOCUMENTATION

StaticPositionProvider

This component is used to provide a static position.

Since the position providers are resolved in order, you can add this provider last as a fallback if the other methods fail.

Coveo for Sitecore uses this component to leverage the Sitecore xDB geolocation API.

This component requires the DistanceResources component to work properly.

Options

latitude

The latitude to set.

The default value is undefined.

<div class="CoveoStaticPositionProvider" data-latitude="46.813878"></div>

longitude

The longitude to set.

The default value is undefined.

<div class="CoveoStaticPositionProvider" data-longitude="-71.207981"></div> 

Sample

<div class="CoveoStaticPositionProvider"></div>