I'm wanting to create a really simple app with the following functionality:
This sounds simple enough but have run into the following limitations:
Any ideas an suggestions welcome!
*I'm using ArcGIS Online
Hi @BlairPellegrino,
Yes, you can configure that workflow using the Select and Map widgets in Experience Builder.
Steps to set it up:
Add a Select widget and configure it to target your polygon layer.
In the Select widget’s settings, enable a data action to your Map widget: choose “Zoom to”.
Also configure the Map widget so that when the polygon is selected, the popup of your point layer is shown or a filter is applied to highlight related points.
To toggle visibility, add another data action “Change layer visibility” triggered by the same Select widget.
This lets an end user click a polygon, zoom into it, switch other layers on/off, and view the point popup—all in one seamless workflow.
Let me know if you’d like a specific example configuration or screenshot of the widget actions.
Regards,
Venkat
Hi @VenkataKondepati - thanks so much for the detailed description. So you're thinking the only way is through adding the Select widget? We were really hoping of achieving a workflow that's as simple and intuitive as possible and with minimal mouse-clicks, but I'll put it to the team as an option!
Hi @BlairPellegrino,
Please try to use layer visibility and message action.
1. In Map View, set the layer visiblity for the polygon layer and point layer. For example, for a polygon layer, set its maximum scale to 800. For a point layer, set its minimum scale to 800.
2. In Experience Builder,drag a Table widget and add polygon layer to it. Then configure it with message action.
1)Record selection changes - > Map -> Zoom to, then set the Zoom scale to Custom. (This should also be set to 800, but I had some minor problems during testing, so I set it to 600.)
2) Record selection changes -> Framework -> Filter data records, select the polygon layer as Trigger and Action data.
3. Turn on Live view, select a record in the Table widget and see the result.
Thanks,
Ke
Thanks for the response @Ke_Xu - similar to my response above, that requires additional widgets and mouse-clicks which we're desperately trying to avoid. Unfortunately it doesn't seem possible to achieve the simple and seamless user experience we were hoping!
Also I think I experienced the same issues you did with regard to the zooming - if you have the a visibility scale set on a layer and try to use it in a 'zoom to' action, it won't work if that would result in it zooming to a scale beyond the visibility scale, and instead seems to default to zooming in as close as it can without the visibility scale kicking in. I can maybe see the logic here, but not I'm wanting in this instance.