Hello,
I am new to ExB and React. I am trying to create a warning widget that appears only when a specific data is in the extent of the Map widget/view.
I have figured that I can use Action Trigger in the Map widget to be set on Extent Change and this should apply a Filter on the data source that is accessible to all widgets.
But can I hide a widget from view when no features of the configured data source is in the extent? I see WidgetState only applies to a widget in the Widget Controller. But I don't want it to be in the controller, I just want a message popup and dissapear if no data is visible.
I have so far reverse engineered Text Widget to make my message but I cannot figure out how to hide/unhide it based on the data action.
Sorry if it sounds totally wrong, maybe I am not understanding it properly.
Regards,
Serj