- Interfaces
LocationData
Version:
| Type | Interface |
| Import path | @sitecore-cloudsdk/search/browser |
In context: the geographical coordinates of the location where the site visitor made the search request. In filters: the location that the site visitor wants to see search results for.
Signature
Properties
| Name | Type | Description | Value |
|---|---|---|---|
latitude | number | Required. The latitude of a location. You can infer the site visitor's current location from Navigator.geolocation.Minimum: -90.000000.Maximum: 90.000000. | -77.0089 |
longitude | number | Required. The longitude of a location. You can infer the site visitor's current location from Navigator.geolocation.Minimum: -180.000000.Maximum: 180.000000. | -120.0017 |
If you have suggestions for improving this article, let us know!