Hello Neelima,

Sorry but I didnt understand what you are trying to do, could you show 2 
figures about that? perhaps one with what you have and the other about what you 
want. Nevertheless, check these links, perhaps this solves your problem: 
http://openlayers.org/dev/examples/fullScreen.html, 
http://openlayers.org/dev/examples/layerswitcher.html

HTH,

From: [email protected]
To: [email protected]
Date: Wed, 6 Jun 2012 04:49:28 +0000
Subject: [OpenLayers-Users] layerswitcher minimize option







Hi All,

I have layer switcher working very well inside the map. But , i want the layer 
switcher to be adjacent to the map. Which is also displayed well. Here comes my 
problem, I can all the map layers in the switcher but cannot minimize the layer 
switcher. Can any
 one tell me why? and where to solve it. 



I found following piece of code in layerswitcher.js file 



 // set mode to minimize

       if(!this.outsideViewport) {

            this.minimizeControl();

        }

And tried as below 

// set mode to minimize

       if(this.outsideViewport) {

            this.minimizeControl();

        }

Even then one didnot find any difference . Can you please help me in getting 
the right way to solve this.

 

With Regards,

Neelima Emmani









_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users                        
                  
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to