[mapserver-users] change image size for REAL
Daniel Morissette
morissette at dmsolutions.ca
Tue Apr 2 10:13:11 PST 2002
Scott D Cogan wrote:
>
> i am trying to change the image size that gets drawn with mapscript using
> the $image=$map->draw() function.
>
> i change the dimensions before drawing each time:
> $map->width=400;
> $map->height=400;
>
You should use:
$map->set("width", 400);
$map->set("height", 400);
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
More information about the MapServer-users
mailing list