Select to view content in your preferred language

Search using locator source, zoom to

567
3
10-23-2024 08:42 AM
mshanaghan
Frequent Contributor

I am using the search widget with a locator source and want the map to zoom to the search result. 

I set up the "Records created" trigger and the "show on map" and "zoom to" actions (see screencaps).

The show on map action is working (yellow dot appearing on the feature), but the zoom to action is not working. It seems like this is a common problem. Any suggestions?

mshanaghan_0-1729697781858.png

mshanaghan_1-1729697807235.pngmshanaghan_2-1729697821705.png

 

 

0 Kudos
3 Replies
JeffreyThompson2
MVP Regular Contributor

The order of Actions matters sometimes. Try dragging the Zoom To Action above the Show On Map Action.

GIS Developer
City of Arlington, Texas
0 Kudos
mshanaghan
Frequent Contributor

Thank you for the suggestion. I tried adding all three actions and changing around their order. It seems only the "show on map" action works. 

0 Kudos
JeffreyThompson2
MVP Regular Contributor

Maybe try using a Record Selection Changes Action instead of Records Created?

GIS Developer
City of Arlington, Texas
0 Kudos