Web API Reference MapGuide Open Source
virtual MgLayerGroup* MgLayerBase::GetGroup (  )  [virtual]

Gets the group this layer is organized within.

.NET Syntax
MgLayerGroup GetGroup();
Java Syntax
MgLayerGroup GetGroup();
PHP Syntax
MgLayerGroup GetGroup();

Returns:
Returns an MgLayerGroup representing the parent group, or NULL if the layer does not belong to a group.
Example (PHP)
See MgMapBase class .


Comments or suggestions? Send us feedback.