Javascript OpenLayers before zoom event listener
问题 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 like this: map = new OpenLayers.Map('map_element', { eventListeners: { "zoomend": mapEvent}}); function mapEvent(event) { if(event.type == "zoomend") { hide_vector_layer(); } } But I don't see any kind of event listener for the start of a zoom in the documentation. There is a "movestart" which covers moving, panning,