[Mapserver-users] Perl Mapscript - equivalent ofzoompointmethod..?

Sean Gillies sgillies at frii.com
Tue Jul 15 17:50:10 PDT 2003


Hey, see issue 363 in the MapServer Bugzilla:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=363

I've extended the mapObj class with zoomPoint, zoomRectangle,
and zoomScale methods, following as closely as possible the
implementation in php_mapscript.c.  There's an attachment
to the "bug" which shows all the tests that the methods
pass.  I think they are ready to go, we just need a couple
Perl users to rebuild MapScript from CVS or from the next
nightly to confirm that they'll work.

The only difference between these and the PHP methods is
that the maximum extent argument is not optional.  If you
don't want your zoom to be constrained by a maximum extent,
pass the method a NULL as the last argument.

(BTW, please also read my proposal for a change of the
MapScript API in 4.1:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=358)

cheers,
Sean

On Tuesday, July 15, 2003, at 01:38  PM, Lowell Filak wrote:

> Great!
> I hate reinventing things, unless of course the original wasn't Open 
> Source.
> Lowell
>
> The following message was sent by "Steve Lime"
> <steve.lime at dnr.state.mn.us> on Mon, 14 Jul 2003 16:29:18 -0500.
>
>> Note that before the end of the week I intend to take the popular PHP
>> mapscript methods and SWIGify them. We want the versions inline as 
>> much
>> as possible for the 4.0 release.
>>
>> Steve
>>




More information about the MapServer-users mailing list