laptop and a wrench

漏洞

The 'setTitle()' and 'setContent()' methods of the PopupTemplate class fail to set the title and content when used inside the featureReduction property of the feature layer.

上次发布: July 5, 2022 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000131764
已提交June 22, 2020
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本3.32
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Known Limit

附加信息

Setting title and content for cluster's popupTemplate as below is not supported: popupTemplate.setTitle("Changed Title"); popupTemplate.setContent("Changed Content");

解决办法

Custom title and content has to be set in the constructor as below:

var popupTemplate = new PopupTemplate({

 title: "Initial Title",

 description: "Initial Content"

});

重现步骤

漏洞 ID: BUG-000131764

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项