Select to view content in your preferred language

Search widget - locator source - show point and popup

343
3
Jump to solution
05-23-2024 10:19 AM
JoeRogan
New Contributor III

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 Regular 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

3 Replies
TimWestern
Occasional Contributor

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 Regular 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

 

JoeRogan
New Contributor III

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

0 Kudos