The Search widget does not work when an array is passed to the searchExtent property.
最後に公開された状態: August 4, 2017ArcGIS API for JavaScript
不具合 ID 番号
BUG-000105861
送信されました
June 16, 2017
最終更新日
June 5, 2024
適用対象
ArcGIS API for JavaScript
見つかったバージョン
4.3
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
As of 4.4 the searchExtent property has been deprecated. Please use the filter property in its place, passing in the Geometry of the Extent you wish to filter the results. Doc'd at https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
対処法
Create multiple sources with the same locator and pass single extents instead of passing multiple extents as a part of an array.