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 void MgLayerBase::SetLegendLabel
(
CREFSTRING
legendLabel
)
[virtual]
Sets the label to be displayed for the layer in the legend.
.NET Syntax
void SetLegendLabel(string legendLabel);
Java Syntax
void SetLegendLabel(String legendLabel);
PHP Syntax
void SetLegendLabel(string legendLabel);
Parameters:
legendLabel
(String/string) Legend label string.
Returns:
Returns nothing.
Comments or suggestions? Send us
feedback
.