Try using OpenLayers.Control.ZoomPanel<br><br><div class="gmail_quote">On Thu, Dec 29, 2011 at 3:05 PM, Puneet Kishor <span dir="ltr">&lt;<a href="mailto:punk.kish@gmail.com">punk.kish@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The following works<br>
<br>
    map = new OpenLayers.Map(&quot;map&quot;, {<br>
        &quot;allOverlays&quot;: true,<br>
                &quot;controls&quot;: [<br>
                        new OpenLayers.Control.LayerSwitcher(),<br>
                        new OpenLayers.Control.PanZoom()<br>
                ]<br>
    });<br>
<br>
But the following doesn&#39;t<br>
<br>
    map = new OpenLayers.Map(&quot;map&quot;, {<br>
        &quot;allOverlays&quot;: true,<br>
                &quot;controls&quot;: [<br>
                        new OpenLayers.Control.LayerSwitcher(),<br>
                        new OpenLayers.Control.ZoomIn(),<br>
                        new OpenLayers.Control.ZoomOut()<br>
                ]<br>
    });<br>
<br>
Neither the ZoomIn nor the ZoomOut controls draw. What am I doing wrong?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Puneet Kishor<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</font></span></blockquote></div><br>