@ Api public void setVisible ( boolean visible ) { if ( visible != this . visible ) { this . visible = visible ; updateShowing ( false ) ; handlerManager . fireEvent ( new LayerShownEvent ( this ) ) ; } }
Make the layer visible or invisible .