laptop and a wrench

不具合

The FeatureTemplates widget does not exclude the specific template item when the value for the filterFunction property is returned as false in ArcGIS Maps SDK for JavaScript.

ArcGIS Maps SDK for JavaScript
不具合 ID 番号 BUG-000157369
送信されましたApril 10, 2023
最終更新日August 23, 2024
適用対象ArcGIS Maps SDK for JavaScript
見つかったバージョン4.26
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0
ステータスUnder Consideration

対処法

There is a workaround for this issue to exclude only the specific item from the feature template:

Include logic in the custom filter function that if the filter label includes Incident Report (Incident Report is a field name, and all the other items are included under Incident Report), If the incident report is returned false, the filter function works as expected when item 'Dead Animal' is returned true and false for all the other items. To test this workaround, uncomment lines 121 and 122 in the sample application.

再現の手順

不具合 ID: BUG-000157369

ソフトウェア:

  • ArcGIS Maps SDK for JavaScript

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

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

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

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

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

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

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