MapMatrix NetGIS Class Library

Command.ChangeLayerVisibility Method 

Change the visibility of a Layer or LayerList An update is not automatically performed

public void ChangeLayerVisibility(
   string LayerId,
   bool Visible
);

Parameters

LayerId
Unique Id of the Layer to change
Visible
Sets a layer or layer group to visible or not visible

See Also

Command Class | MapMatrix.MapControls Namespace