Class CloudGeocodingOptions
A class provides the options for the Geocoding APIs.
[Obfuscation(Exclude = true)]
public class CloudGeocodingOptions
- Inheritance
-
CloudGeocodingOptions
- Inherited Members
Remarks
A class provides the options for the Geocoding APIs.
Constructors
CloudGeocodingOptions()
public CloudGeocodingOptions()
Properties
Autocomplete
Whether to return the autocomplete results or not. When autocomplete is enabled, all results will be started with the query string, rather than just the response includes it extractly. false by default.
public bool Autocomplete { get; set; }
Property Value
BBox
Limit the results to only those contained within the supplied bounding box. null by default, as the global.
public RectangleShape BBox { get; set; }
Property Value
Countries
Limit the results only within the countries specified here.It can be one or more “Country Code” mentioned ISO 3166-1 alpha-2. e.g.gb for the United Kingdom, de for Germany.
public IEnumerable<string> Countries { get; set; }
Property Value
Debug
Whether to return the detailed exception message. false by default.
public bool Debug { get; set; }
Property Value
Language
Specify what language would like to be returned in the response.If no specified language, take English instead. The possible values can be any “Language Code” mentioned at ISO 639-1 language code.
public IEnumerable<string> Language { get; set; }
Property Value
LocationType
This enumeration specifies the location type.
public CloudGeocodingLocationType LocationType { get; set; }
Property Value
MaxResults
The maximun number of results to return. Defaults to 10.
public int MaxResults { get; set; }
Property Value
ResultDetail
Specifies whether the geocoding results should be verbose or not.
public CloudGeocodingResultDetail ResultDetail { get; set; }
Property Value
ResultProjectionInProj4String
Specifies the proj4string (coordinate system)
public string ResultProjectionInProj4String { get; set; }
Property Value
ResultProjectionInSrid
Specifies the SRID (spatial reference system ID). If this value less than or equal to 0, it means than you don't use SRID.
public int ResultProjectionInSrid { get; set; }
Property Value
SearchMode
Specifies whether to attempt approximate, as well as exact, matching.
public CloudGeocodingSearchMode SearchMode { get; set; }