Ed, there is an event on map called "zoomend", will that help you? It is fired after the zoom has taken place.<br>
<br>
re #2 -- you want openlayers to automatically resize itself to the
dimensions of a zoom rectangle box...? That's not a currently supported
feature. <br>
<br>
Erik<br>
<br><div><span class="gmail_quote">On 4/25/07, <b class="gmail_sendername">Ed Fialkowski</b> <<a href="mailto:edfialk@gmail.com">edfialk@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
okay, I believe I'm pretty close. I'm trying not to be a pain.<br><br>I
have the bounding box for the WMS request matching the viewable area
for the map. This is good. It has nothing to do with
maxExtent, but it's a definable area I can work with.
<br><br>Now, my problem comes with zooming.<br><br>When zooming, it seems OpenLayers uses the same pre-defined layer, but simply provides a new bounding box for the WMS overlay.<br><br>I need a small step to intercede here. I need to change one of my url parameters to the layer each time the user zooms.
<br><br>So, question #1: Is there a zoom listener or way for me to edit the map zoom function?<br><br>question
#2: Is there a way to disable the auto-snap proportion that is used for
the rubber band zoom selection box? If a user makes a zoom box that is
way out of proportion (tall and skinny, for ex.) OpenLayers doesn't use
the exact box that was defined, it changes to preserve the
proportionality of the map. If there is not a way to disable this
feature, does anyone know the proportion that Openlayers uses?
<br><br>Hope that makes sense.<br>Thanks all so much for help!<br><span class="sg">-Ed<br>
</span></blockquote></div><br>