Bug ID Number |
BUG-000101836 |
Submitted | December 31, 2016 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS Web AppBuilder developer edition |
Version found | 2.1 |
Operating System | Windows OS |
Operating System Version | N/A |
Status | Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
|
Additional Information
The reason for getting two different area measurements results is passing incorrect parameters to the AreasAndLengthsParameters.
According to JSAPI, property calculationType of AreasAndLengthsParameters should be preserveShape.
For more information: https://developers.arcgis.com/javascript/3/jsapi/areasandlengthsparameters-amd.html#calculationtype
Workaround
Use the areasAndLengths() method of GeometryService class to measure the area.
Steps to Reproduce