| Package | com.esri.ags.tasks.supportClasses |
| Class | public class LengthsParameters |
| Inheritance | LengthsParameters Object |
| Since : | ArcGIS API for Flex 2.0 |
See also
| Property | Defined By | ||
|---|---|---|---|
| geodesic : Boolean = false
Whether to calculate ellipsoidal shortest path distances between each pair of the vertices in the polylines. | LengthsParameters | ||
| lengthUnit : Number
The length unit in which the length of the polylines will be calculated. | LengthsParameters | ||
| polylines : Array
The array of polylines whose lengths are to be computed. | LengthsParameters | ||
| geodesic | property |
public var geodesic:Boolean = falseWhether to calculate ellipsoidal shortest path distances between each pair of the vertices in the polylines. When polylines are in a geographic coordinate system, you would usually set geodesic to true in order to get an accurate measurement.
This is an optional property and is only available with ArcGIS Server 10.0 and higher.
The default value is false.
| lengthUnit | property |
public var lengthUnit:NumberThe length unit in which the length of the polylines will be calculated. If it is not specified and the input spatial reference is a geographic coordinate system, then the lengths are expressed in meters.
This is an optional property and is only available with ArcGIS Server 10.0 and higher.
| polylines | property |
public var polylines:ArrayThe array of polylines whose lengths are to be computed.
See also