laptop and a wrench

Bug

The Measurement widget yields inaccurate results in Web AppBuilder for ArcGIS (Developer Edition) 2.2.

Last Published: June 24, 2019 ArcGIS Web AppBuilder developer edition
Bug ID Number BUG-000101836
SubmittedDecember 31, 2016
Last ModifiedJune 5, 2024
Applies toArcGIS Web AppBuilder developer edition
Version found2.1
Operating SystemWindows OS
Operating System VersionN/A
StatusWill Not Be Addressed

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

Bug ID: BUG-000101836

Software:

  • ArcGIS Web AppBuilder developer edition

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options