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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動