Packagecom.esri.ags.tasks.supportClasses
Classpublic class AreasAndLengthsParameters
InheritanceAreasAndLengthsParameters Inheritance Object

Since : ArcGIS API for Flex 2.0

Input parameters for the areasAndLengths() method on the GeometryService - contains polygons, and optionally areaUnit and lengthUnit. The two optional properties are only available with ArcGIS Server 10.0 and higher.

See also

com.esri.ags.tasks.GeometryService.areasAndLengths()
Live Sample - using AreasAndLengthsParameters as input for areasAndLengths() method.
Areas and Lengths (Operation) in REST documentation


Public Properties
 PropertyDefined By
  areaUnit : String
The area unit in which areas of polygons will be calculated.
AreasAndLengthsParameters
  lengthUnit : Number
The length unit in which perimeters of polygons will be calculated.
AreasAndLengthsParameters
  polygons : Array
The array of polygon whose areas and lengths are to be computed.
AreasAndLengthsParameters
Property Detail
areaUnitproperty
public var areaUnit:String

The area unit in which areas of polygons will be calculated. Can also be set to a esriSRUnitType value in mxml like this, areaUnit="{'9093'}". Optional, only available with ArcGIS Server 10.0 and higher.

See also

lengthUnitproperty 
public var lengthUnit:Number

The length unit in which perimeters of polygons will be calculated. Optional, only available with ArcGIS Server 10.0 and higher.

polygonsproperty 
public var polygons:Array

The array of polygon whose areas and lengths are to be computed.

See also