laptop and a wrench

不具合

Updating the property of the view gets triggered multiple times on extent change in ArcGIS API for JavaScript 4.24.

最後に公開された状態: October 10, 2022 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000152563
送信されましたSeptember 26, 2022
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン4.24
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスAs Designed

参考情報

The CodePen code provided in this issue works as designed. The number of messages increases in the console for the layerView.updating because a new watcher is installed on layerView.updating every time the view becomes stationary. To run a logic when the view.stationary is true and when layerView.updating is false, use the following code: view.whenLayerView(featureLayer).then((layerView) => { // reactiveUtils reactiveUtils.when( () => view.stationary && !layerView.updating, (val) => console.log("reactive: view stationary and not layerView updating", val) ); }); Refer to this CodePen app for the sample code: https://codepen.io/U_B_U/pen/vYjVYyM?editors=1000.

再現の手順

不具合 ID: BUG-000152563

ソフトウェア:

  • ArcGIS API for JavaScript

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

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

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

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

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

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

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