[OpenLayers-Trac] [OpenLayers] #1411: WMC: hidden is not always correctly interpreted

OpenLayers trac at openlayers.org
Mon Mar 3 07:20:00 EST 2008


#1411: WMC: hidden is not always correctly interpreted
-------------------------+--------------------------------------------------
  Reporter:  bartvde     |       Owner:  tschaub    
      Type:  bug         |      Status:  new        
  Priority:  minor       |   Milestone:  2.6 Release
 Component:  Format.WMC  |     Version:  2.5        
Resolution:              |    Keywords:             
     State:              |  
-------------------------+--------------------------------------------------
Comment (by bartvde):

 Also, ratio now default to 1.5, for WMS I'd rather see 1 in the WMC
 defaults, so:


 {{{
     read_wmc_Layer: function(context, node) {
         var layerInfo = {
             params: {},
             options: {
                 visibility: (node.getAttribute("hidden") != "1"),
                 isBaseLayer: false,
                 singleTile: true,
                 buffer: 0,
                 ratio: 1
             },
             queryable: (node.getAttribute("queryable") == "1"),
             formats: [],
             styles: []
         };

 }}}

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1411#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list