[mapserver-users] zoom out factor as int

Carlos Ruiz boolean10001 at yahoo.com
Tue Aug 30 10:16:36 EDT 2011


Puneet,

You have to handle negative integers. For example, to zoom in x2 you have to use +2, to zoom out you have to use -2.

Cheers from México


IC Carlos Ruiz



----- Original Message -----
From: Mr. Puneet Kishor <punk.kish at gmail.com>
To: MapServer <mapserver-users at lists.osgeo.org>
Cc: 
Sent: Monday, August 29, 2011 9:49 PM
Subject: [mapserver-users] zoom out factor as int

how do I express a zoom out factor in

zoomPoint( int zoomfactor, pointObj imgpoint, int width, int height, rectObj extent, rectObj maxextent ) : int


Obviously, 0.5 won't work as an int is expected.


--
Puneet Kishor _______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110830/b8d2c20d/attachment.html


More information about the mapserver-users mailing list