PopupTemplate displays all the attributes only for the first object when multiple objects are selected.
上次发布: May 7, 2020ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000130532
已提交
April 30, 2020
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.15
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This is a code issue. The outFields property must be set within PopupTemplate. Updated code snippet to include is similar to below:
var template = {
outFields: ["*"],
title: "{NAME} in {COUNTY}",
content:populationChange
};
Refer to the following part of the documentation linked below, 'This is important if setting content via a function since any fields needed for successful rendering should be specified here.'
https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#outFields