laptop and a wrench

漏洞

The LayerList widget does not work with the MapImageLayer containing a sublayer.

上次发布: April 25, 2017 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000103521
已提交March 9, 2017
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.3
操作系统N/A
操作系统版本N/A
状态Known Limit

附加信息

This is documented at https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html#sublayers. Where it states, 'All sublayers are referenced in the order in which they are drawn in the view (bottom to top). They may be added, removed, or reordered using the Collection methods." In order to specify the sublayers in a certain order, please use the Collection reorder method.

解决办法

The issue is that when Supports Dynamic Layers is true, the LayerList widget will renders correctly, however, when Supports Dynamic Layers is false, in order to make two sublayer show correctly in the map, instantiate the layer id order in a descending order, if using an ascending order the sublayer does not render, and the request are different.

重现步骤

漏洞 ID: BUG-000103521

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项