Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

ForceRefresh
GetClassDefinition
GetDisplayInLegend
GetExpandInLegend
GetFeatureClassName
GetFeatureGeometryName
GetFeatureSourceId
GetGroup
GetLayerDefinition
GetLayerType
GetLegendLabel
GetName
GetObjectId
GetSelectable
GetVisible
IsVisible
MgLayerBase
NeedsRefresh
SelectAggregate
SelectFeatures
SetDisplayInLegend
SetGroup
SetLayerDefinition
SetLegendLabel
SetName
SetSelectable
SetVisible
UpdateFeatures
virtual void MgLayerBase::SetDisplayInLegend | ( | bool | displayInLegend | ) | `[virtual]`
Specifies whether an entry for the layer 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 layer should appear in the legend, false otherwise.
Returns: Returns nothing.

Comments or suggestions? Send us feedback.