MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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 .