Web API Reference
MapGuide Open Source
Overview
Modules
Classes
MgLayerBase
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
STRING
MgLayerBase::GetLegendLabel
(
)
[virtual]
Gets the label to be displayed for the layer in the legend.
.NET Syntax
string
GetLegendLabel()
;
Java Syntax
String
GetLegendLabel()
;
PHP Syntax
string
GetLegendLabel()
;
Returns:
Returns the legend label as a string.
Example (PHP)
See
MgMapBase class
.
Comments or suggestions? Send us
feedback
.