Hi everyone. I have a layer with about 100 polygons. I needed a way for people to be able to toggle on these polygons individually in an Experience Builder app (similar to the capability of the interactive legend instant app). My first attempt at this was adding the whole layer and then having a series of filters to toggle each polygon. I got feedback that it wasn’t very user-friendly or intuitive.
My next try was to split the layer by attribute so each polygon was in its own layer in Arc Pro. I shared the layers as a web map to AGOL and added it to the web map underpinning the app so they were all in the layers list with their own checkboxes to turn them on/off. This is more what I was after, but now the app is running so slowly, if it even loads at all. Now I’m getting feedback that browser windows are crashing when people try to open it.
I’m wondering a few things:
- did I not share the layers to AGOL properly? Like is there something making them too bulky or something for the map? I know it’s a lot of layers in there but I have seen web maps with tons of layers that ran fine.
- maybe there is another way to accomplish what I’m trying to do with the interactive legend type layer list? One of my colleagues suggested a list widget, which would be great except that the visibility of individual polygons cannot be toggled. I want the toggling because some of the polygons overlap because they are showing different options for one area.
- I am just assuming it is the number of layers causing issues. So is there a way to see what exactly is jamming up the app? Like to be able to pinpoint that it is the number or type of layers versus some other issue with the app structure?
thanks everyone!