[fusion-trac] #330: Theme doesn't work on the map with commercial layers

Fusion trac_fusion at osgeo.org
Tue Nov 17 02:09:31 EST 2009


#330: Theme doesn't work on the map with commercial layers
---------------------+------------------------------------------------------
 Reporter:  liuar    |         Owner:  liuar 
     Type:  defect   |        Status:  new   
 Priority:  P2       |     Milestone:  Future
Component:  Widgets  |       Version:  1.1.1 
 Severity:  Major    |    Resolution:        
 Keywords:           |   External_id:        
    State:  New      |       Browser:  All   
       Os:  All      |  
---------------------+------------------------------------------------------
Comment (by liuar):

 Apply theme invoke reloadMap in Generic.js which will reload all the
 commercial layers in current map.
 In loadMap method in Generic.js at line 77, if a commericial layer already
 exsits, it will be destroy then create a new one . But after the layer
 destroyed, the point to the layer is not set to null which will ignore the
 layer re-creation and cause a exception like "null reference exception"
 when register events to this.oLayerOL.events.

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