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::IsVisible | ( |  | ) | `[virtual]`
Returns the actual visibility of the layer. Remarks: The visibility depends on the visible property of the layer, the visible property of each group this layer is organized within, and the current viewScale of the map. .NET Syntax
`bool IsVisible();`
Java Syntax
`boolean IsVisible();`
PHP Syntax
`bool IsVisible();`
Returns: Returns true if the layer is actually visible, or false otherwise. Example (PHP) See MgMapBase class .

Comments or suggestions? Send us feedback.