Mapscript Zooming

Jeff Portwine jdport at VERITIME.COM
Wed Aug 3 08:21:48 EDT 2005


I think what you mean is you want to display the entire extents of the map at a particular scale.   Zoom level implies a smaller extent.    If you don't doom, but instead make your image size larger while keeping the extent the same, the scale will change... perhaps that's what you want.

Unfortunately, there is no mapserver function to determine this for you.. you'd have to experiment with different image sizes or try to work out the math to determine the size of the image that suits your needs.

-Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050803/b683d73c/attachment.html


More information about the mapserver-users mailing list