Hi, I'm working with a web map with two layers. The main layer is formed of point features, while a subsidiary layer is formed of polygon features. In my ideal solution, the default view of the map would show only the points layer and, when selecting one of the points, the polygon layer would activate, only showing the polygon feature linked to the selected point (through fields with same values). I've managed to link both layers through the map action tab (message action/add a trigger/record selection changes/framework/filter data records) but, so far, I've been unable to "hide" the polygon layer when no point is selected.
I have tried to create a "view for empty selection" for the polygon layer (with a dumb filter query: "fieldX is blank") but, differently as shown in the FAQ, I cannot modify the map widget content (as it's proposed there for lists). I have also tried to set, within the record selection changes trigger, the selection of features of the polygon layer, but nothing changed to what I've already explained.
Do you have any idea? Thanks in advance!
Hi @JaimeSierra,
There is currently no way to achieve this. You can go to the ArcGIS Idea board and post this request, Render on the map only when filtered.
Thank,
Ke