laptop and a wrench

不具合

Reordered layers in a map service sample works incorrectly when all the layers are turned off.

最後に公開された状態: April 23, 2015 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000086608
送信されましたApril 2, 2015
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン3.13
オペレーティング システムWindows OS
オペレーティング システムのバージョン7 64 Bit
修正されたバージョン3.14
ステータスFixed

対処法

Find the attached sample. Replace the code for Toggle Layers function with the following: function toggleLayer(e) { showLoading(); for (var info in infos) { var i = infos[info]; if (i.name === e.target.name) { i.visible = !i.visible; } } var visible = getVisibleLayers(); if (visible.length === 0) { usaLayer.setVisibleLayers([-1]); } else { usaLayer.setDynamicLayerInfos(visible); } }

再現の手順

不具合 ID: BUG-000086608

ソフトウェア:

  • ArcGIS API for JavaScript

バグのステータスが変更されたときに通知を受け取る

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

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

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

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

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

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