laptop and a wrench

不具合

Adding an extent filter to LocatorSearchSource fails to filter the results and suggestions of the Search widget to the specified extent.

最後に公開された状態: December 28, 2020 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000135766
送信されましたNovember 30, 2020
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン4.17
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスWill Not Be Addressed

参考情報

The test-app shows the filter property is being incorrectly set, and the spatial reference is incorrect for the extent used. Refer to this working app which demonstrates how the property is supposed to be used, https://codepen.io/noash/pen/WNGpGXz?editors=1000

対処法

Set the withinViewEnabled property of the LocatorSearchSource to true to constrain the search results to the view's extent: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html#withinViewEnabled

Example: https://codepen.io/laurenb14/pen/gOwLQBL

再現の手順

不具合 ID: BUG-000135766

ソフトウェア:

  • ArcGIS API for JavaScript

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

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

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

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

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

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

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