AutocompleteGeocoderSuggestion Class |
Namespace: Telogis.GeoBase.Geocoding
The AutocompleteGeocoderSuggestion type exposes the following members.
Name | Description | |
---|---|---|
AutocompleteGeocoderSuggestion | Initializes a new instance of the AutocompleteGeocoderSuggestion class |
Name | Description | |
---|---|---|
Address |
Get the address corresponding to this suggestion, for example for use with AddressFormatter.
| |
AddressConvention |
Indicates whether the address conventions in the country of the suggested street/region place
the street number before the street name (e.g. "20 Enterprise"), or after the street name (e.g. "Ave. Santa Fe
94").
| |
BoundingBox |
The bounding box of a region. This field will only be populated for region suggestions; for other suggestions, this will
return null.
| |
Confidence |
The AutocompleteGeocoder's confidence in the result. The confidence is a decimal number
between 0 and 1, with 1 representing the highest confidence. This confidence is not
comparable to confidence values provided by other geocoders.
| |
Country |
The country of the suggested street/region.
| |
FormattedAddress |
The address for the suggestion, excluding the country, formatted using the AddressFormatter.
| |
FormattedAddressWithCountry |
The address for the suggestion, including the country, formatted using the AddressFormatter.
| |
Intersection | ||
IsCity |
Indicates whether the suggestion is a city.
| |
IsMileMarker |
Indicates whether the suggestion is a MileMarker.
| |
IsRegion |
Indicates whether the suggestion is a region address. If this is false, the suggestion will be a street or postcode address.
| |
IsStreetNameOnly |
Indicates whether a street suggestion is a street-name-only result, as opposed to full street address suggestion.
This will always return false. It is kept for backwards-compatibility only.
| |
IsSuburb |
Indicates whether the suggestion is a suburb.
| |
Location |
The display location of the suggestion. This is offset from the street for street suggestions, and is not suitable for reverse geocoding;
use Intersection instead for this purpose. This field is guaranteed
to be populated. For region suggestions, this may return a representative location or
the center of the region's bounding box if no location is set in the data.
| |
MileMarkerDistance |
Gives the MileMarker distance from the start of a highway. Only valid if IsMileMarker
is true.
| |
Name |
The name of the region or street. For a region result, this will return only the most specific region matched.
| |
PostCode |
The post or zip code for this suggestion. Set to null for region results or where the post code is ambiguous
(for example, if there are multiple post codes for a street).
| |
RegionLevel |
The RegionLevel of the suggestion, if it is a region address. 0 indicates a city.
Increasingly positive values indicate progressively less specific regions.
Increasingly negative values indicate progressively more specific suburbs.
| |
Regions |
The list of regions for this suggestion, with the most specific region (eg suburb or
city) first. See Regions.
| |
ResultType |
Indicates whether the suggestion is a region address. If this is false, the suggestion will be a street address.
| |
StreetNumber |
The street number of the suggestion. Set to
InvalidStreetNumber
if the suggestion does not have a street number.
| |
StreetNumberFull |
The street number of the suggestion, e.g. 20, 5b or 10-12.
| |
Subregions |
The list of subregions for this suggestion (eg, suburbs within a city). See SubRegions.
| |
Suffix |
Returns a string containing all elements of the address other than the first line, which can be accessed via
Name. For street address result, this will return all region
names, while for a region result, this will return all region names other than the most specific region. The string will be
prefixed by a comma, and components will be comma separated. The suffix does not consider the locale of the address; if you
want a formatted address that reflects the current locale, use AddressFormatter in
conjunction with Address, or use
ToString.
| |
Units |
The unit identifiers of the suggestion. E.g. "Floor 2, Building 3".
Gets the unit types and corresponding units as AddressUnit objects.
|
Name | Description | |
---|---|---|
Equals |
Whether this suggestion is equal to a given object.
(Overrides ObjectEquals(Object).) | |
GetHashCode |
Get the hash code for the suggestion.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Get the full address string of the suggestion.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
InvalidStreetNumber |
An invalid street number. For comparison with StreetNumber
values.
|