[Mapserver-users] width/height properties of legendobj with php
Daniel Morissette
morissette at dmsolutions.ca
Wed Apr 16 06:09:27 PDT 2003
Stefan Schwarzer wrote:
>
> I would like to access the height and width properties of the legend
> with php/mapsrcipt. I read in this posting
> http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0109/msg00086.html
> that this wasn't possible yet. But as it dates from Sep 2001 I wonder
> if this limitation has been overcome?
>
Yes they are accessible using $map->legend->width and
$map->legend->height. They've been there since 2001-10-17 according to
the bug report that was mentioned in the list message above.
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list