Search widget Use current location option not working as expected

200
2
03-13-2024 11:12 AM
FranklinAlexander
Occasional Contributor III

I have created an Experience Builder Developer application and configured a Search widget with the Use current location option enabled. It does basically the same thing as the Locate tool in the map and if you have an Action configured can zoom to your location on the map. It can also be used with other widgets such as the Near Me widget by allowing users to automatically search for features a given distance from their location without having to type an address. 

Use current location enabled.PNG

The problem I am having is that when a user clicks the Use current location button the first time nothing happens.  

EXB Developer no result, does not zoom to location.PNG

As you can see, the input element is populated with a set of coordinates, but no address shows up in the dropdown menu and there is no zoom action.

If I clear the input and try again, it works as expected.

Working example.PNG

 

 

 

 

As an aside, Experience Builder online has a similar issue, except that the menu populates on the first click, but only with coordinates, and once again there is no zoom action.

I have already reported the this to Esri support as a bug, but was wandering if any one besides me has experienced the same issue. I am using EXB version 1.13.

0 Kudos
2 Replies
JeffreyThompson2
MVP Regular Contributor

JeffreyThompson2_0-1710354116353.png

Do you have this Auto Select The First Result option turned on? It's in the Search Result dropdown in the Search Content Panel.

GIS Developer
City of Arlington, Texas
0 Kudos
FranklinAlexander
Occasional Contributor III

I didn't have that option turned on and it zooms to my location now, but I still have an issue, however, with no results being displayed in the dropdown menu. I should be seeing an address instead of just coordinates, so something is still amiss.

Semi working.PNG

 

 

0 Kudos