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 bool MgLayerBase::GetDisplayInLegend
(
)
[virtual]
Determines whether an entry for the layer should appear in the legend.
.NET Syntax
bool
GetDisplayInLegend()
;
Java Syntax
boolean
GetDisplayInLegend()
;
PHP Syntax
bool
GetDisplayInLegend()
;
Returns:
Returns true if the layer should appear in the legend, or false otherwise.
Example (PHP)
See
MgMapBase class
.
Comments or suggestions? Send us
feedback
.