[OpenLayers-Users] LayerSwitcher outside viewport

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Tue Apr 17 08:29:47 EDT 2007


Hi list,

using 2.4RC1 I needed to make the following minor change (add the if
statement) to LayerSwitcher.js (in the draw function) to get it work in a
separate div:

        if(!this.outsideViewport) {
          this.minimizeControl();
        }

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl








More information about the Users mailing list