[fusion-trac] #481: Redline doesn't work with commercial layers

Fusion trac_fusion at osgeo.org
Thu Nov 3 04:32:23 EDT 2011


#481: Redline doesn't work with commercial layers
-----------------------+----------------------------------------------------
   Reporter:  liuar    |       Owner:  liuar 
       Type:  defect   |      Status:  new   
   Priority:  P2       |   Milestone:  Future
  Component:  Widgets  |     Version:  2.0   
   Severity:  Major    |    Keywords:        
External_id:           |       State:  New   
    Browser:  All      |          Os:  All   
-----------------------+----------------------------------------------------

Comment(by liuar):

 The original logic to find the top most map name has a potential issue:
 since commercial layers have lots of limitation, if maps[maps.length - 1]
 is a commercial layer, then following steps to deal with normal maps will
 get into trouble.[[BR]]
 [[BR]]
 In the patch I replace the implementation with

 {{{
 this.getMapLayer().getMapName();
 }}}

 to get current map's name, which can guarantee the map is not a commercial
 layer.

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