[fusion-trac] #426: fix the aMaps[0] TODOs

Fusion trac_fusion at osgeo.org
Thu Jan 6 10:39:53 EST 2011


#426: fix the aMaps[0] TODOs
-----------------------+----------------------------------------------------
   Reporter:  madair   |       Owner:  madair
       Type:  defect   |      Status:  new   
   Priority:  P1       |   Milestone:  2.2   
  Component:  Widgets  |     Version:  SVN   
   Severity:  Major    |    Keywords:        
External_id:           |       State:  New   
    Browser:  All      |          Os:  All   
-----------------------+----------------------------------------------------
 Sprinkled throughout widget code are some TODOs to figure out how to deal
 with multiple maps in a MapGroup.   Now that applications are using
 commercial baselayers we need to figure out how to fix these.

 I am proposing that each <Map> in a <MapGroup> will have an optional 'id'
 attribute and widgets that depend on a specific <Map> can point to that ID
 in their extension.  If there is only one <Map> then behaviour is as
 before and defaults to the aMaps[0] layer.  This would be implemented
 through a new widget method called getMapLayer(layerId) where layerId is
 an optional argument.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/426>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list