[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [mapserver-users] change image size for REAL



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