hi zspitzer,

I use php
...........
$layers = $map->GetLayers();
$layerGroupCollection = $map->GetLayerGroups();
 for ($j = 0; $j < $layerGroupCollection->GetCount(); $j++)
{
   $layerGroup = $layerGroupCollection->GetItem($j);
   for ($i = 0; $i < $layers->GetCount(); $i++){

         $layer = $layers->GetItem($i);
         $piano=$layer->GetName();
               $layer->GetGroup();   // how do I know the group of $layer
??????????????

   }

}


-- 
View this message in context: 
http://n2.nabble.com/How-can-i-know-the-layers-of-group-mg-2-1-tp4660248p4660329.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to