Group
Show / Hide Table of Contents

Class LocationCriteria

Criteria for distance/range filtering

Inheritance
System.Object
LocationCriteria
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Textkernel.Tx.Models.API.Matching.Request
Assembly: Textkernel.Tx.SDK.dll
Syntax
public class LocationCriteria

Properties

| Improve this Doc View Source

Distance

The distance from Locations within which to find results.

Declaration
public int Distance { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

DistanceUnit

The units for the specified distance.

Declaration
[JsonConverter(typeof(JsonStringEnumConverter))]
public DistanceUnit DistanceUnit { get; set; }
Property Value
Type Description
DistanceUnit
| Improve this Doc View Source

GeocodeProvider

The provider to lookup latitude/longitude if they are not specified. If you use Bing you must specify your GeocodeProviderKey

Declaration
[JsonConverter(typeof(JsonStringEnumConverter))]
public GeocodeProvider GeocodeProvider { get; set; }
Property Value
Type Description
GeocodeProvider
| Improve this Doc View Source

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

Declaration
public string GeocodeProviderKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Locations

Results must be found within a certain distance of one of these specified locations.

Declaration
public List<FilterLocation> Locations { get; set; }
Property Value
Type Description
System.Collections.Generic.List<FilterLocation>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾