OneLineGeoCodeArgs Class |
Namespace: Telogis.GeoBase.Geocoding
The OneLineGeoCodeArgs type exposes the following members.
Name | Description | |
---|---|---|
OneLineGeoCodeArgs | Initializes a new instance of the OneLineGeoCodeArgs class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Country |
The country to search.
(Inherited from GeoCodeArgs.) | |
MaxResults |
The maximum number of results to return.
(Inherited from GeoCodeArgs.) | |
OneLineAddress |
The full address to be searched for.
| |
UseExternalGeocoder |
Use external geocoder if available
(Inherited from GeoCodeArgs.) | |
UseInternalGeocoder |
Use the built-in geocoder
(Inherited from GeoCodeArgs.) |
// Create a OneLineGeoCodeArgs object var OneLineArgs = new Telogis.GeoBase.Geocoding.OneLineGeoCodeArgs() { OneLineAddress = "20 Enterprise, Aliso Viejo, CA", MaxResults = 5, Country = Country.USA }; // Pass the object to the Geocoder GeocodeAddress[] OneLineArray = GeoCoder.GeoCode(OneLineArgs);