var c=map.getControlsByClass(&quot;OpenLayers.Control.KeyboardDefaults&quot;);<div>c[0].deactivate();</div><div><br></div><div>this is how you disable keyboard controls, you can do the same for others</div><div><br></div><div>
regards,<br><br><div class="gmail_quote">On Tue, Feb 21, 2012 at 3:53 PM, Robert Buckley <span dir="ltr">&lt;<a href="mailto:robertdbuckley@yahoo.com">robertdbuckley@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif"><div>Hi,</div><div><br></div><div>I need to create a map without the ability to zoom or pan and a fixed area. I have removed all the controls fro the map object but I still get the panzoom and keyboard defaults. I guess restricted extent will freeze the map...but what about the mouse wheel and keyboard?</div>
<div><br></div><div>Google doesn´t seem to have much!</div><div><br></div><div>thanks for any advice,</div><div><br></div><div>Rob</div><div><br></div><div><br></div></div></div><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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>I.R<br>
</div>