漏洞 ID 编号 |
BUG-000101836 |
已提交 | December 31, 2016 |
上次修改时间 | June 5, 2024 |
适用范围 | ArcGIS Web AppBuilder developer edition |
找到的版本 | 2.1 |
操作系统 | Windows OS |
操作系统版本 | N/A |
状态 | Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
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
解决办法
Use the areasAndLengths() method of GeometryService class to measure the area.
重现步骤