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::SetName
(
CREFSTRING
name
)
[virtual]
Sets the name of the layer.
Remarks:
The name must be unique in
MgMapBase
. An exception will be thrown when this layer is added to
MgMapBase
if the name already exists.
.NET Syntax
void SetName(string name);
Java Syntax
void SetName(String name);
PHP Syntax
void SetName(string name);
Parameters:
name
(String/string) Layer name.
Comments or suggestions? Send us
feedback
.