laptop and a wrench

不具合

The visibility of a FeatureLayer cannot be toggled in the MapView when the 'visible' property is initially set to 'false' in ArcGIS API for JavaScript 4.0.

最後に公開された状態: July 20, 2016 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000097737
送信されましたJuly 13, 2016
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン4.0
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
修正されたバージョン4.1
ステータスFixed

対処法

1. In the sample application at https://jsfiddle.net/gkj4hhrv/, change the 'visible' property of the FeatureLayer to 'true' at Line 37. 2. In the HTML section at Line 6, after the 'id' attribute for 'checkbox', add the following attribute: checked="true", and the toggling works as expected.

再現の手順

不具合 ID: BUG-000097737

ソフトウェア:

  • ArcGIS API for JavaScript

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

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

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

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

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

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

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