I need to hide the legend from a couple of layers or edit it slightly, but I am unable to figure out how to view the Model data that is represented on this page (I want to iterate the model and get Name, SymbolURL, LayerName, etc)?
LegendInfoListModel QML Type | ArcGIS for Developers
I see how to used the mode using the example here
arcgis-runtime-samples-qt/BuildLegend.qml at 37f29d3634a2ee71933836e6546c58d42fcfe081 · Esri/arcgis-runtime-samples-qt ·…
But how do I update the legendinfos Model and remove an entry? I don't even know how to view it? I have tried json.stringify and legendinfos.forEach(function(element, index, array), but those just seem to return the colors and other information. I want the information on the legendinfoListMode page so I can remove some layers and elements of that legend.