MapView is unable to load FeatureLayers with the error message, "Tried to get a LayerCollisionInfo for an index that doesn't exist!" when more than one layer has a LabelClass visible on loading.
上次发布: September 5, 2018ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000115601
已提交
July 24, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.8
操作系统
Windows OS
操作系统版本
10.0 64 Bit
修正版本
4.9
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Load MapView with only one of the labeled layers visible, then set up a watch on the 'updating' property of the FeatureLayerView. Once the layer is finished updating, display the next labeled layer.