laptop and a wrench

漏洞

selectedFeatureWidget returns null geometry for feature geometry type polygon and polyline.

上次发布: July 21, 2021 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000139365
已提交April 26, 2021
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.19
操作系统Windows OS
操作系统版本10.0
状态Will Not Be Addressed

附加信息

The reason for the graphic.geometry showing null is because of timing, wrap it in a watch statement and it should work fine. if (view.popup.selectedFeatureWidget.graphic.geometry == null) { view.watch("popup.selectedFeatureWidget.graphic.geometry", function(x){ console.log ("the geometry of the graphic is", x); }) }

重现步骤

漏洞 ID: BUG-000139365

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项