require(["esri/tasks/DensifyParameters"], function(DensifyParameters) { /* code goes here */ });
Description
(Added at v2.0)
Input parameters for the densify() method on the GeometryService - contains geometries, maxSegmentLength, and optionally lengthUnit, geodesic.
See also
Samples
Search for
samples that use this class.
Properties
Methods
Property Details
If true, GCS spatial references are used or densify geodesic is to be performed.
Known values: true | false
Default value: null
Sample:
densifyParameters.geodesic = true;
The array of geometries to be densified.
Default value: null
Sample:
densifyParameters.geometries = [geometry];
The length unit of maxSegmentLength, can be any
esriUnits
constant.
Default value: null
Sample:
densifyParameters.lengthUnit = GeometryService.UNIT_SQUARE_MILES;
All segments longer than maxSegmentLength are replaced with sequences of lines no longer than maxSegmentLength.
Default value: null
Sample:
densifyParameters.maxSegmentLength = 10;
Method Details
Converts object to its JSON representation.