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.