Web API Reference
MapGuide Open Source
Overview
Modules
Classes
MgLayerGroup
GetDisplayInLegend
GetExpandInLegend
GetGroup
GetLayerGroupType
GetLegendLabel
GetName
GetObjectId
GetVisible
IsVisible
MgLayerGroup
SetDisplayInLegend
SetGroup
SetLegendLabel
SetVisible
virtual void MgLayerGroup::SetVisible
(
bool
visible
)
[virtual]
Alters the group potential visibility.
Remarks:
Note that setting this property to true will not necessarily guarantee the group will be visible. The group will be visible only when this property is true, and all groups this group is organized within are visible.
.NET Syntax
void
SetVisible(bool visible)
;
Java Syntax
void SetVisible(boolean visible);
PHP Syntax
void
SetVisible(bool visible)
;
Parameters:
visible
(boolean/bool) True if the group should be visible, or false otherwise.
Returns:
Returns nothing.
Comments or suggestions? Send us
feedback
.