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::GetVisible | ( |  | ) | `[virtual]`
Determines whether the layer is potentially visible. Remarks: Note that this method may return true even though the layer is not visible. This will occur if the visible flag of one of the groups this layer is organized within is not visible or when the current viewScale property of the map is outside the scale ranges defined for this layer. .NET Syntax
`bool GetVisible();`
Java Syntax
`boolean GetVisible();`
PHP Syntax
`bool GetVisible();`
Returns: Returns true if the layer is potentially visible, or false otherwise. Example (PHP) See MgMapBase class .

Comments or suggestions? Send us feedback.