laptop and a wrench

不具合

A reference layer from multiple basemaps stay on a map when the basemap is switched in the basemap gallery.

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

参考情報

This is a known limit with 3.x and will be addressed in 4.x.

対処法

Set one of the basemaps as a starting basemap, and add the following code in the application : var bool = true; // declare this globally basemapGallery.on("selection-change", function() { if(bool == true){ map.removeLayer(map.getLayer("layer1")); bool = false; // Since this happens only ones we don't need it anymore. } });

再現の手順

不具合 ID: BUG-000085714

ソフトウェア:

  • ArcGIS API for JavaScript

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

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

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

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

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

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

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