PHP MapScript zoomscale optional parameter

Abe Gillespie abe.gillespie at GMAIL.COM
Wed Jun 15 10:52:47 PDT 2005


According to the docs the oGeorefExt parameter of mapObj::zoomscale is
optional.  How do I send in an optional parameter in PHP?  I've tried
both of the following with no success:

$map->zoomscale($scale, $pnt, $w, $h, null);
and
$map->zoomscale($scale, $pnt, $w, $h);

Please help if you can.  Also, and slightly OT, you need to pass in
the height and width of the image.  This doesn't make sense to me. 
Shouldn't the current height and width of the mapObj be used???

Thanks for the help.
-Abe



More information about the MapServer-users mailing list