[fusion-trac] #271: MapGuide BasemapSwitcher Wigdet for commercial map services

Fusion trac_fusion at osgeo.org
Tue Jul 28 10:53:35 EDT 2009


#271: MapGuide BasemapSwitcher Wigdet for commercial map services
-------------------------+--------------------------------------------------
 Reporter:  liuar        |         Owner:  liuar     
     Type:  enhancement  |        Status:  new       
 Priority:  P2           |     Milestone:  Future    
Component:  Widgets      |       Version:  2.0 - beta
 Severity:  Major        |    Resolution:            
 Keywords:               |   External_id:            
    State:  Review       |       Browser:  All       
       Os:  All          |  
-------------------------+--------------------------------------------------
Changes (by zjames):

  * owner:  zjames => liuar
  * status:  assigned => new

Comment:

 The problem is that if you switch to the 'None' option, the mapguide layer
 becomes the base layer (there has to be a base layer) and when you switch
 back to a commercial layer, it replaces the base layer. The switch
 function probably needs to reset isBaseLayer to true for the mapguide
 layer. A simpler fix would just be to remove the 'None' select option.

 A more subtle issue is that the widget will cause js errors if the various
 commercial api keys are not present in the template because it relies on
 global variables being defined for the map types (e.g. G_NORMAL_MAP). The
 widget should have logic to deal with that condition.

 Other than these issues, this works well.

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