AutocompleteGeocoderArgs Constructor (String, BoundingBox, LatLon, TimeSpan, ActionAutocompleteGeocoderPartialResult, AutocompleteGeocoderResultsHint) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release Note: This API is now obsolete.
Constructs an arguments object for searching within multiple countries.
Namespace:
Telogis.GeoBase.Geocoding
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax [ObsoleteAttribute("Incremental results callbacks and result hints are deprecated. Use another constructor instead.")]
public AutocompleteGeocoderArgs(
string query,
BoundingBox countriesZone,
LatLon locationHint,
TimeSpan timeout,
Action<AutocompleteGeocoderPartialResult> incrementalResultsCallback,
AutocompleteGeocoderResultsHint resultsHint
)
<ObsoleteAttribute("Incremental results callbacks and result hints are deprecated. Use another constructor instead.")>
Public Sub New (
query As String,
countriesZone As BoundingBox,
locationHint As LatLon,
timeout As TimeSpan,
incrementalResultsCallback As Action(Of AutocompleteGeocoderPartialResult),
resultsHint As AutocompleteGeocoderResultsHint
)
Parameters
- query
- Type: SystemString
The partial address string for which to search. - countriesZone
- Type: Telogis.GeoBaseBoundingBox
A BoundingBox that determines which countries to search. All countries
falling within this BoundingBox are 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, all available countries are searched. - locationHint
- Type: Telogis.GeoBaseLatLon
A LatLon value. The location hint adds a bias towards nearby results when there are more results than the results
limit, and also influences the ranking of results. Suggestions from other countries are not sorted based on their proximity to this location. If you do not want
to use a location hint, set this parameter to Empty. - timeout
- Type: SystemTimeSpan
Specifies how long the search should continue before terminating prematurely. Specifying a timeout of
TimeSpan.Zero means that the search will not timeout. When a search times out, the
AutocompleteGeocoderResult object returned contains all suggestions found
prior to the timeout and has a status of Timeout. - incrementalResultsCallback
- Type: SystemActionAutocompleteGeocoderPartialResult
Deprecated. An optional callback to receive incremental results as they are found, in addition to
receiving the full results list on return. - resultsHint
- Type: Telogis.GeoBase.GeocodingAutocompleteGeocoderResultsHint
Deprecated. This parameter is ignored.
See Also