Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgLayerGroup Class Reference
[MgLayerGroup]

Manipulates the properties of a layer group. More...

Inherits MgNamedSerializable.

List of all members.

## Public Member Functions
virtual bool | GetDisplayInLegend ()
| Determines whether an entry for the group should appear in the legend.
virtual bool | GetExpandInLegend ()
| Determines whether the entry for the group should initially be expanded in the legend, if possible.
virtual MgLayerGroup * | GetGroup ()
virtual INT32 | GetLayerGroupType ()
| Gets the type of the layer group.
virtual STRING | GetLegendLabel ()
virtual STRING | GetName ()
| Gets the group name.
virtual STRING | GetObjectId ()
virtual bool | GetVisible ()
| Determines if the layer group is potentially visible.
virtual bool | IsVisible ()
| Determines the actual visibility of the group.
| MgLayerGroup (CREFSTRING name)
| Constructs an MgLayerGroup object with the specified name.
virtual void | SetDisplayInLegend (bool displayInLegend)
virtual void | SetGroup (MgLayerGroup *group)
virtual void | SetLegendLabel (CREFSTRING legendLabel)
virtual void | SetVisible (bool visible)

## Detailed Description

Manipulates the properties of a layer group.

Comments or suggestions? Send us feedback.