[mapserver-users] zoom out factor as int

Mr. Puneet Kishor punk.kish at gmail.com
Tue Aug 30 10:20:09 EDT 2011


On Aug 30, 2011, at 9:16 AM, Carlos Ruiz wrote:

> 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.


Indeed I do... wouldn't have thought this up without your help. Many thanks Carlos.


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


More information about the mapserver-users mailing list