Hi All,
I wanted to filter layers programatically in layer list widget. I developed a custom widget which allows to set layer visibility based on predefined criteria. I am able to manage that using below class.
LayerStructure.getInstance();
..layerNode.Hide()\Show()
After that,I am trying to remove invisible layers from layer-list widget but not sure what is the best way to handle this.
Is it possible to fire filter method programatically(same filter functionality) from other widget ? or remove layer from map?
Any help would be appreciated.
Regards,
Prashant