I have a slide out panel that shows all selected layers. I want to control visibility from that panel with a checkbox.
I would like to simply loop thorugh the layers, using the base Layer class to access the layers without knowing the exact type. Then set the layer visiblity. I currently have to save the LayerOptions in a separate list or cast the layer to the decendant type before accessing the LayerOptions.
Exposing GetLayerOptions will allow me to access the options through the base class and set visibility.
I have a slide out panel that shows all selected layers. I want to control visibility from that panel with a checkbox.
I would like to simply loop thorugh the layers, using the base Layer class to access the layers without knowing the exact type. Then set the layer visiblity. I currently have to save the LayerOptions in a separate list or cast the layer to the decendant type before accessing the LayerOptions.
Exposing GetLayerOptions will allow me to access the options through the base class and set visibility.