laptop and a wrench

漏洞

The AreasAndLengths method is not executed with the result of simplify method while working with GeometryService Class.

上次发布: May 7, 2019 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000117806
已提交October 30, 2018
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.9
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

Use the following function: geometryService.simplify([polygon]).then(function(simplifiedGeometries){ var areasAndLengthParams = new AreasAndLengthsParameters({ areaUnit: "square-kilometers", lengthUnit: "kilometers", polygons: simplifiedGeometries //notice no array here since simplifiedGeometries is already an array }); geometryService.areasAndLengths(areasAndLengthParams).then(function(results){ console.log("area: ", results.areas[0]); console.log("length: ", results.lengths[0]); }); });

重现步骤

漏洞 ID: BUG-000117806

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项