Hello,
I am getting an error when I try to implement a "marquee zoom tool" in my mapscript application (c#). Here is the code below:

<br><br>

<pre>
rectObj bounds = new rectObj( 200, 200, 300, 300, mapscript.MS_FALSE );
rectObj current_extent = new rectObj( map.extent.minx, map.extent.miny, map.extent.maxx, map.extent.maxy, mapscript.MS_FALSE );
rectObj max_extent = new rectObj( -180, 0, -60, 90, mapscript.MS_FALSE );
map.zoomRectangle( bounds, map.width, map.height, current_extent, max_extent );
</pre>

<br>

When my program gets to map.zoomRectangle I get the following error:

<br>

<pre>"Server was unable to process request. --> Georeferenced coordinates miny &lt;= maxy"</pre>

Can someone tell me what's wrong. Or some other way I can use to sets of pixels to zoom in a rectangle on my map?

Regards,
Matthew Lock

<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/zoomRectangle-error-%22Georeferenced-coordinates-miny-%3C%3D-maxy%22-t925925.html#a2399741">zoomRectangle error "Georeferenced coordinates miny <= maxy"</a><br>
Sent from the <a href="http://www.nabble.com/Mapserver---Dev-f1216.html">Mapserver - Dev</a> forum at Nabble.com.