laptop and a wrench

不具合

IncludedEffect property applies the effect to all the non-selected features after the selection is cleared in ArcGIS Maps SDK for JavaScript v4.29 application.

ArcGIS Maps SDK for JavaScript
不具合 ID 番号 BUG-000167739
送信されましたMay 22, 2024
最終更新日December 6, 2024
適用対象ArcGIS Maps SDK for JavaScript
見つかったバージョン4.29
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスAs Designed

参考情報

The description is hard to follow in this issue. But the issue is indicating that the layer is showing every feature when the layerView.filter.objectIds is set to an empty array. Instead the user thinks it must hide every feature. This feature is working as intended and matches the server behavior. If the user does not want to show any features when the objectIds is an empty array, set the filter.where clause to 1 = 0. This ensured no features are visible. The FeatureFilter document to describe this behavior will be updated. Create an issue for JS API SDK to follow up on the documentation status.

対処法

As a workaround, the code is modified to set FeatureEffect as null if no features are selected.

Sample code: https://codepen.io/RiddhiG/pen/eYaZbgR. 

再現の手順

不具合 ID: BUG-000167739

ソフトウェア:

  • ArcGIS Maps SDK for JavaScript

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

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

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

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

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

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

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