Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetDisplayInLegend
GetExpandInLegend
GetGroup
GetLayerGroupType
GetLegendLabel
GetName
GetObjectId
GetVisible
IsVisible
MgLayerGroup
SetDisplayInLegend
SetGroup
SetLegendLabel
SetVisible
virtual void MgLayerGroup::SetDisplayInLegend | ( | bool | displayInLegend | ) | `[virtual]`
Specifies whether an entry for the group should appear in the legend. .NET Syntax
`void SetDisplayInLegend(bool displayInLegend);`
Java Syntax
`void SetDisplayInLegend(boolean displayInLegend);`
PHP Syntax
`void SetDisplayInLegend(bool displayInLegend);`
  Parameters:
  | displayInLegend | (boolean/bool) True if the group should appear in the legend, or false otherwise.
Returns: Returns nothing.

Comments or suggestions? Send us feedback.