[mapguide-trac] #655: API needs MgLayerGroup SetExpandInLegend Method

MapGuide Open Source trac_mapguide at osgeo.org
Fri Jul 30 07:07:17 EDT 2010


#655: API needs MgLayerGroup SetExpandInLegend  Method
---------------------------+------------------------------------------------
   Reporter:  amorsell     |       Owner:     
       Type:  enhancement  |      Status:  new
   Priority:  low          |   Milestone:     
  Component:  Web API      |     Version:     
   Severity:  minor        |    Keywords:     
External_id:               |  
---------------------------+------------------------------------------------

Comment(by jng):

 Hi Tom,

 I wrote a simple PHP invoke URL command that uses the (made public)
 SetExpandInLegend() API. It is attached here (along with a mgp containing
 the weblayout with this command)

 When you run the command it will add a new layer group to the legend which
 is initally expanded. If you comment out the SetExpandInLegend() call and
 run the command again (on a fresh map), the new layer group is added to
 the legend but is not initially expanded (the old behaviour)

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/655#comment:6>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list