[Mapserver-users] Image not visible

Attri, Abhishek aattri@cba.ua.edu
Thu, 29 Apr 2004 13:15:38 -0500


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



_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users