Select to view content in your preferred language

Issue with Zooming to Polygon Features Using Search Widget and Custom Locator

338
5
06-09-2025 05:38 PM
dhan
by
Emerging Contributor

Hello,

I've created a custom composite locator, comprised of a couple feature locators, which was then uploaded onto AGOL and incorporated into the search widget of my Experience Builder. However, when I set my triggers to "zoom to", the map instead zooms out instead of towards the feature. While I could set my zoom scale to custom, this would only work for certain features since some features are much smaller or larger than the set scale. 

 

The custom locator has been added as a new search source, and the search does seem to find the relevant results, but it is more of a matter of the proper zoom level when I click on the search results.

 

Thanks

5 Replies
ShengdiZhang
Esri Regular Contributor

Hi @dhan ,

Can you share with me the locator URL and a sample search input?

Thanks,

Shengdi

0 Kudos
becyr
by
Occasional Contributor

 @ShengdiZhang  I am having the same issue. the custom locator was based on a polygon layer. When using the locator in ArcGIS pro it zooms in to the actual polygon extent but in experience builder it zoom-out to the full map extent. 

Experience Builder

becyr_0-1756386548935.png

ArcGIS Pro

becyr_1-1756386630436.png

 

ArcGIS Online

becyr_2-1756387263510.png

 

It seems like the issue is with experience builder. I tested the locator on the same map in ArcGIS Online and ArcGISPro. It works just fine. But experience builder 😞

0 Kudos
ShengdiZhang
Esri Regular Contributor

Hi @becyr ,

Thank you for the feedback. If you’d like, please DM me your custom locator URL, and we can test it together after the bug is resolved.

Thanks,

Shengdi

0 Kudos
becyr
by
Occasional Contributor

Hi @ShengdiZhang was it confirmed to be a bug?

 

0 Kudos
ShengdiZhang
Esri Regular Contributor

Yes, it was confirmed to be a bug.