OpenLayers OpenLayers

Ticket #674: outsideviewport.patch

File outsideviewport.patch, 0.5 kB (added by sderle, 1 year ago)

implemented as patch

  • lib/OpenLayers/Control/LayerSwitcher.js

    old new  
    9999        this.loadContents(); 
    100100 
    101101        // set mode to minimize 
    102         this.minimizeControl(); 
    103          
     102        if(!this.outsideViewport) { 
     103            this.minimizeControl(); 
     104        } 
     105 
    104106        // populate div with current info 
    105107        this.redraw();     
    106108