The Infowindow Selection Symbol does not appear for point features in ArcGIS API for JavaScript version 3.14.
上次发布: February 5, 2016ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000091450
已提交
October 16, 2015
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
3.14
操作系统
Windows OS
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Changes in the current behavior, cannot be easily reverted.
Instead of using map.infoWindow, just add the features to a graphics layer:
//map.infoWindow.setFeatures(allFeatures);
// Clear current selection
if (selectedFeature) {
map.graphics.remove(selectedFeature);
}
// TODO
// set symbol for all features instead of just the first feature
allFeatures[0].setSymbol(selMarker);
// TODO
// Using a separate graphics layer instead of map.graphics will make managing
// more than one graphics easier:
// 1. customGraphicsLayer.clear();
// 2. For each feature: call customGraphcisLayer.add(feature):
selectedFeature = map.graphics.add(allFeatures[0]);