Class LocationCriteria
Criteria for distance/range filtering
public class LocationCriteria
- Inheritance
-
LocationCriteria
- Inherited Members
Properties
Distance
The distance from Locations within which to find results.
public int Distance { get; set; }
Property Value
DistanceUnit
The units for the specified distance.
[JsonConverter(typeof(JsonStringEnumConverter))]
public DistanceUnit DistanceUnit { get; set; }
Property Value
GeocodeProvider
The provider to lookup latitude/longitude if they are not specified. If you use Bing you must specify your GeocodeProviderKey
[JsonConverter(typeof(JsonStringEnumConverter))]
public GeocodeProvider GeocodeProvider { get; set; }
Property Value
GeocodeProviderKey
Your private API key for the geocoding provider. If using Bing you must specify your own API key.
If using Google, you can optionally provide your own API key
public string GeocodeProviderKey { get; set; }
Property Value
Locations
Results must be found within a certain distance of one of these specified locations.
public List<FilterLocation> Locations { get; set; }