need to add an action to zoom to selected on the map

09-28-2022 05:26 PM
New Contributor III

This is my first time using Experience Builder and I am stuck on this step:

On the map section I clicked:

Add a trigger 

Record Selection Changes

(and want to add an action of zoom to selected, but I can't figure it out)


I click Add Action and select a target pops up on the left but I don't see an option for zoom to selected.




0 Kudos
2 Replies
Esri Regular Contributor

Hi @Lorraine77, if you want to zoom to the selection, the map widget is not the trigger (but rather the action part). Thus, you should configure the trigger inside whichever widget you want to actually trigger the map zoom, such as a List widget (when you make the selection), instead of within the Map.


Here are more details of the message action and all related definitions for your reference: 

0 Kudos
New Contributor III

For my layout I have a map and a feature info widget:

I have it configured so when someone clicks on a point the data for the point shows up in the feature info box.



I set a trigger on the feature info widget to:

pan to 1 Selected

show on map 1 Selected

Zoom to 1 Selected


But when I click on a point on the map it doesn't zoom to the point.


I also tried selecting a point but it won't zoom to it automatically when I select the point:




0 Kudos