[Mapserver-users] Image not visible
Attri, Abhishek
aattri at cba.ua.edu
Thu Apr 29 11:15:38 PDT 2004
Thanks a lot Norbert. I got everything working alright now. As you told,
I just had to use the "set" method to set all the attributes of layers
and classes.
Thanks again!
Abhishek
-----Original Message-----
From: Norbert Thieme [mailto:norbert.thieme at ilmenau.baw.de]
Sent: Thursday, April 29, 2004 2:51 AM
To: Attri, Abhishek
Subject: Re: [Mapserver-users] Image not visible
I'm not sure but try it with "->set". I use the following to change the
SIZE of my MAP and this works.
$map->set(height, $HTTP_POST_VARS["NEWHEIGHT"])
You tried that with "$map->{height} = 400;" and that seem not to work.
I think you can change the colorObj(s) with "->setRGB". I use this:
$map->scalebar->color->setRGB(0, 0, 0);
to change the color of the scalebar. For the map I think you have to
use:
$map->imagecolor->setRGB(255, 0, 0);
Good luck,
Norbert
More information about the MapServer-users
mailing list