Select to view content in your preferred language

Search widget - locator source - show point and popup

2256
6
Jump to solution
05-23-2024 10:19 AM
JoeRogan
Regular Contributor

I'm trying to get the Search widget in ExB 1.14 to show the point and popup of the result when the map pans and zooms to it.  Currently this seems to only work for feature layer sources, but not the locator.  This was the normal behavior in WAB and with the JS API widget.  It's unclear to me how the Search widget in ExB is working, there isn't a goToOverride function anywhere or similar that I've found.  I appreciate any suggestions!

1 Solution

Accepted Solutions
abureaux
MVP Frequent Contributor

lol. I literally just did this (needed to bug Esri since it isn't obvious).

Pin on map:

  1. Select the "search" bar
  2. Go to "Action" tab
  3. Click "Add a trigger"
  4. Select "Records created"
  5. Select your data source/map
  6. Select "Show on map"

abureaux_0-1716498923745.png

abureaux_3-1716499177243.png

abureaux_1-1716498973561.png

 

Zoom to point:

  1. Same as previous steps, but select "Record selection changes" instead of "show on map"
  2. Select your data source/map
  3. Select "Zoom to"

abureaux_2-1716499079427.png

 

View solution in original post

6 Replies
TimWestern
MVP

I've experienced similar, you can do a panTo, zoomTo, or flash, but highlight doesn't seem to be possible, nor is dropping a pin in 1.14.

0 Kudos
abureaux
MVP Frequent Contributor

lol. I literally just did this (needed to bug Esri since it isn't obvious).

Pin on map:

  1. Select the "search" bar
  2. Go to "Action" tab
  3. Click "Add a trigger"
  4. Select "Records created"
  5. Select your data source/map
  6. Select "Show on map"

abureaux_0-1716498923745.png

abureaux_3-1716499177243.png

abureaux_1-1716498973561.png

 

Zoom to point:

  1. Same as previous steps, but select "Record selection changes" instead of "show on map"
  2. Select your data source/map
  3. Select "Zoom to"

abureaux_2-1716499079427.png

 

wstuart4
Emerging Contributor

This worked great. Thank you!

0 Kudos
JoeRogan
Regular Contributor

Thanks! This worked for highlighting the location, no popups, but I think this is good enough!

0 Kudos
David_Brooks
MVP Regular Contributor

Does anyone know if search result popups are now working at 11.4 or 11.5? It's not on 11.3.

Would also be useful to have the option to place a marker at the location, as with the WAB version.


David
..Maps with no limits..
0 Kudos
TimWestern
MVP

@David_Brooks Given a solution has already been accepted perhaps this should be its own stand alone question?

0 Kudos