[Mapguide-trac] [mapguide-trac] #2222: Maestro RtMapInspector: additional display of nested layers

MapGuide Open Source trac_mapguide at osgeo.org
Fri Feb 22 07:05:13 PST 2013


#2222: Maestro RtMapInspector: additional display of nested layers
-----------------------+----------------------------------------------------
   Reporter:  gBecker  |       Owner:  jng        
       Type:  defect   |      Status:  new        
   Priority:  low      |   Milestone:  Maestro-5.0
  Component:  Maestro  |     Version:  2.4.0      
   Severity:  trivial  |    Keywords:             
External_id:           |  
-----------------------+----------------------------------------------------
 When viewing a runtime map with nested groups in the RtMapInsector all
 nested groups were also drawn as child folders of the root in the
 treeview.

 To fix this simply change (line 510-513)


 {{{
 foreach (var group in _rtMap.Groups)
 {
      node.Nodes.Add(CreateGroupNode(group));
 }
 }}}

 to


 {{{
 foreach (var group in _rtMap.Groups)
 {
      if (group.Group == String.Empty)
           node.Nodes.Add(CreateGroupNode(group));
 }
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2222>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list