Home > doofinder > GeoDistanceFilter
GeoDistanceFilter interface
Represents a filter by geographical distance.
Signature:
export interface GeoDistanceFilter
Example
If the name of the field is position:
{
geo_distance: {
distance: '200km',
position: '40,-70'
}
}
Properties
| Property | Type | Description |
|---|---|---|
| distance | string | The distance to the origin of the filter. |