[fusion-trac] #319: Issues with Multiple Maps Within a MapGroup

Fusion trac_fusion at osgeo.org
Wed Nov 11 16:20:58 EST 2009


#319: Issues with Multiple Maps Within a MapGroup
-----------------------------------------+----------------------------------
 Reporter:  tnolte                       |         Owner:  tnolte    
     Type:  defect                       |        Status:  assigned  
 Priority:  P1                           |     Milestone:  2.0       
Component:  MapServer                    |       Version:  2.0 - beta
 Severity:  Major                        |    Resolution:            
 Keywords:  mapserver, mapgroup, legend  |   External_id:            
    State:  Review                       |       Browser:  All       
       Os:  All                          |  
-----------------------------------------+----------------------------------
Comment (by tnolte):

 Was able to track down an OpenLayers API that allows for changing the
 z-index of an OpenLayer's layer(Fusion Map). I have implemented the
 changes in fusion/lib/Map.js and fusion/layers/MapServer/MapServer.js. The
 next step is to see how this should be implemented in MapGuide.js as well
 as Generic.js. The fix was a simple matter of passing the MapGroup index
 into the Fusion.Layers.MapServer class and setting up a global nMapIndex
 for this. The final call used to set the layer(Map) z-index is:
 {{{
 this.mapWidget.oMapOL.setLayerZIndex(this.oLayerOL,this.nMapIndex);
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/319#comment:3>
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