Bug
| Bug ID Number | BUG-000135766 |
|---|---|
| Submitted | November 30, 2020 |
| Last Modified | June 5, 2024 |
| Applies to | ArcGIS API for JavaScript |
| Version found | 4.17 |
| Operating System | N/A |
| Operating System Version | N/A |
| Status | Will Not Be Addressed |
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
Bug ID: BUG-000135766
Software:
Get help from ArcGIS experts
Download the Esri Support App