Class GeoDistanceFilter
Filters within the radius of the distance from a location
Inheritance
GeoDistanceFilter
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class GeoDistanceFilter : FilterBase
Properties
The distance in meters from the point of origin.
Declaration
[JsonProperty("distance", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public double Distance { get; set; }
Property Value
The field's name to execute the filter on. It is composed by the field ids of the hierarchy joined with "."
(i.e. personLayer.address.street).
Declaration
[JsonProperty("field", Required = Required.Always)]
[Required]
public string Field { get; set; }
Property Value
The point of origin to calculate the distance from (latitude/longitude).
Declaration
[JsonProperty("location", Required = Required.Always)]
[Required]
public GeoLocation Location { get; set; }
Property Value
Methods
Declaration
public static GeoDistanceFilter FromJson(string data)
Parameters
Returns