I am trying to set up OpenLayers to not display the vector layer just before a zoom starts and make it reappear after a zoom ends. I have the zoom ends part already established
Solution of "Shaunak" is worked very well for me. I want to restrict zooming below 11 so edited his code as
if (zoom > 11) { map.zoomToProxy(zoom, xy); }