<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi All,<br>
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. <br>
<br>
I found following piece of code in layerswitcher.js file <br>
<br>
 // set mode to minimize<br>
       if(!this.outsideViewport) {<br>
            this.minimizeControl();<br>
        }<br>
And tried as below <br>
// set mode to minimize<br>
       if(this.outsideViewport) {<br>
            this.minimizeControl();<br>
        }<br>
<div>Even then one didnot find any difference . Can you please help me in getting the right way to solve this.<br>
 <br>
<div style="font-family:Tahoma; font-size:13px">With Regards,<br>
Neelima Emmani<br>
<br>
</div>
</div>
</div>
</body>
</html>