addColor in PHPMapScript

Dylan Keon keon at NACSE.ORG
Tue Sep 7 10:46:18 EDT 2004


Peter,

The method has changed in 4.x - colors are now assigned using the style
object.  See this wiki page for an example:

http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MigrationGuide

--Dylan


Peter Bayley wrote:
> The $map->addColor(r,g,b) method seems to be missing in MapScript 4
> although its there in Version 3.
> Has this method been superceded - if so, how do I set colors?
>
> Regards
>
> Peter Bayley



More information about the mapserver-users mailing list