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 bool MgLayerBase::GetExpandInLegend | ( |  | ) | `[virtual]`
Determines whether the entry for the layer should initially be expanded in the legend, if possible. .NET Syntax
`bool GetExpandInLegend();`
Java Syntax
`boolean GetExpandInLegend();`
PHP Syntax
`bool GetExpandInLegend();`
Returns: Returns true if the layer should initially be expanded in the legend, or false otherwise. Example (PHP) See MgMapBase class .

Comments or suggestions? Send us feedback.