laptop and a wrench

不具合

Layer visibility of map service layers in web maps is not honored in ArcGIS API for JavaScript 4.x.

最後に公開された状態: March 30, 2020 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000121406
送信されましたApril 2, 2019
最終更新日July 20, 2025
適用対象ArcGIS API for JavaScript
見つかったバージョン4.11
オペレーティング システムWindows OS
オペレーティング システムのバージョンN/A
修正されたバージョン4.15
ステータスFixed

対処法

Modify a layer in the web map by changing the transparency (and then changing it back to 100%) which adds the layers attribute to the WebMap JSON and forces the JavaScript WebMap class to respect the visibleLayers attribute.

For example, see the following WebMap JSON by replacing the ID in: https://www.arcgis.com/sharing/content/items/6a98eb44a463454eb17d3ed2b312bcc8/data?f=pjson

再現の手順

不具合 ID: BUG-000121406

ソフトウェア:

  • ArcGIS API for JavaScript

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

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

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

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

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

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

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