AutocompleteGeocoderArgs Constructor (String, BoundingBox, LatLon, TimeSpan) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
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 public AutocompleteGeocoderArgs(
string query,
BoundingBox countriesZone,
LatLon locationHint,
TimeSpan timeout
)
Public Sub New (
query As String,
countriesZone As BoundingBox,
locationHint As LatLon,
timeout As TimeSpan
)
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.
See Also