
The GeoLevelIDs
parameter specifies IDs of the standard geography levels to search geography features in.
The location point can be specified in one of three ways—by postal address, by geographic coordinates, and by ZIP code. All these ways are mutually exclusive.
The Address
parameter specifies postal address fields.
The Coordinates
array contains geographic coordinates of the point (latitude and longitude).
The ZIP
parameter specifies the location ZIP code. The centroid point of the given ZIP is used.
C# | ![]() |
---|---|
ReturnStdGeographyParameters parameters = new ReturnStdGeographyParameters(); // Multiple standard geography layers can be specified in this array. parameters.GeoLevelIDs = new List<string>(){"US.Counties","US.States"}; // One and only one of the three locations need be specified - address, coordinates or zip. parameters.Address = new List<string>(){"380 New York St.", "Redlands", "CA"}; //parameters.Coordinates = new List<double>(){mapPoint.x, mapPoint.y}; //parameters.ZIP = "92373"; returnStdGeographyTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler)); |
System.Object
ESRI.ArcGIS.Client.BACore.Client.BABaseParameters
ESRI.ArcGIS.Client.BACore.Client.BAUtilityParameters
ESRI.ArcGIS.Client.BAO.Tasks.StdGeographies.ReturnStdGeographyParameters
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family