zoomRectangle error "Georeferenced coordinates miny <= maxy"

Matthew Lock (sent by Nabble.com) lists at NABBLE.COM
Mon Jan 16 02:14:13 EST 2006


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:




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 );




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



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

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

--
View this message in context: http://www.nabble.com/zoomRectangle-error-%22Georeferenced-coordinates-miny-%3C%3D-maxy%22-t925925.html#a2399741
Sent from the Mapserver - Dev forum at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20060115/504327da/attachment.html


More information about the mapserver-dev mailing list