Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AutocompleteGeocoderArgs

Represents a container for the arguments of an Autocomplete Geocoding operation.

Hierarchy

  • AutocompleteGeocoderArgs

Implements

Index

Constructors

constructor

Properties

countries

countries: Country[]

A list of countries to search within. This property is ignored if CountriesZone is not null.

countriesZone

countriesZone: BoundingBox

A BoundingBox that determines which countries to search. All countries falling within this BoundingBox will be included in the search. Note that this does not limit the search to only those regions of the country covered by the BoundingBox. If a value of null is passed for this parameter, and Country is set to Country.Unknown, then all available countries will be searched.

excludedResultTypes

A bitmask representing the types of results to be excluded from the current search.

locationHint

locationHint: LatLon

An optional LatLon value that adds a bias towards nearby results. Defaults to Empty.

query

query: string

The partial address string to search for.

resultsLimit

resultsLimit: number

The maximum number of results that can be returned by any one search.

searchDepth

searchDepth: SearchDepth

Determines the desired behaviour when hitting the results limit; higher depths result in more effort finding better results. Use SearchDepth.Low to return the first results found. SearchDepth.Medium and SearchDepth.High can take longer to find results, but the average quality is higher. Note that two AutoCompleteGeocoder calls with the same AutocompleteGeocoderArgs may produce different results when using a AutocompleteGeocoder.SearchDepth value other than SearchDepth.Low.

timeout

timeout: TimeSpan

Specifies how long (in nanoseconds) the search should continue before terminating prematurely. When a search times out, the LocationSearchResult object returned will contain all suggestions found prior to the timeout, and have a status of Timeout.

Static ASSEMBLY_NAME

ASSEMBLY_NAME: string = GEOBASE_ASSEMBLY_NAME

Static CLASS_NAME

CLASS_NAME: string = "Telogis.GeoBase.Geocoding.AutocompleteGeocoderArgs"

Generated using TypeDoc