[OpenLayers-Users] layerswitcher minimize option

Gery . gamejihou at hotmail.com
Wed Jun 6 00:42:35 PDT 2012



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: neelima.emmani at iictechnologies.com
To: openlayers-users at lists.osgeo.org
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
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120606/cd9de90f/attachment.html>


More information about the Users mailing list