var c=map.getControlsByClass("OpenLayers.Control.KeyboardDefaults");
c[0].deactivate();

this is how you disable keyboard controls, you can do the same for others

regards,

On Tue, Feb 21, 2012 at 3:53 PM, Robert Buckley <[email protected]>wrote:

> Hi,
>
> 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?
>
> Google doesn´t seem to have much!
>
> thanks for any advice,
>
> Rob
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>


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

Reply via email to