Zoomscale (Integer data type?)

Kevin Grootendorst kgrootendorst at BAIRD.COM
Tue Feb 8 13:01:17 EST 2005


Does anybody know how to force 'ZoomScale' to recognize double or float
data types, instead of treating numbers as integers?

I have the following extents (in pixels):
$px = 417.4;
$py = 290.6;

Using ZoomScale:
$oMapNavigator->zoomScale( 25000, $px1, $py2);

The map actually zooms to the point (417,290) which causes my point to
appear off centered.  I want to have the point centered.

Thanks.

Kevin



More information about the mapserver-users mailing list