On Experience Builder 1.11, we are using a widget called “Map Layers”.
Here a screenshot of the widget in action(You see that there is parent layers with childs) :
That widget is responsible to make layers or group of layers visible or not on the map.
We will use “Batiments et services municipaux” as an example:
The current behavior is when we click the parent layer title, it is checking/unchecking all the childs and display them on the map.
In the context of our project, we want to change this behavior. We want to be able to expand/collapse the child by clicking the parent layer title without checking them.
This is a representation of the result that we want when we click on the parent layer title:
WHAT WE TRIED
The potential solution that we tried is to put in place the trigger-action so that we can implement that expand/collapse feature, but it seems that trigger-action is not called on Experience Builder 1.11.
And we want to know if there’s other way to do the expand/collapse of the parent layer by the click without calling the trigger-action.