[mapserver-commits] r7262 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Jan 15 18:26:23 EST 2008


Author: sdlime
Date: 2008-01-15 18:26:23 -0500 (Tue, 15 Jan 2008)
New Revision: 7262

Modified:
   trunk/mapserver/maplexer.l
Log:
Exposed IMAGECOLOR as being modified by url so the background color of a legend or scalebar can be changed. Useful in cases with transparent output so that you can antialias text against the right color.

Modified: trunk/mapserver/maplexer.l
===================================================================
--- trunk/mapserver/maplexer.l	2008-01-15 06:23:05 UTC (rev 7261)
+++ trunk/mapserver/maplexer.l	2008-01-15 23:26:23 UTC (rev 7262)
@@ -179,7 +179,7 @@
 <INITIAL>group                                 { return(GROUP); }
 <INITIAL,URL_STRING>header                     { return(HEADER); }
 <INITIAL>image                                 { return(IMAGE); }
-<INITIAL,URL_VARIABLE>imagecolor               { return(IMAGECOLOR); }
+<INITIAL,URL_STRING,URL_VARIABLE>imagecolor    { return(IMAGECOLOR); }
 <INITIAL,URL_VARIABLE>imagetype                { return(IMAGETYPE); }
 <INITIAL>imagequality                          { return(IMAGEQUALITY); }
 <INITIAL>imagemode                             { return(IMAGEMODE); }



More information about the mapserver-commits mailing list