[Chameleon] Bug: production_draw_legend

Schnider Markus msr at sourcepole.ch
Mon Oct 11 04:41:03 EDT 2004


Hi list

I have tried this morning to create a user account for a bugreport. It was not 
successfull.

Now, I try to explain my problem here:

For applications not connected to the internet it is a problem to print out 
legends.
Should the code not look like the following (in production_draw_legend.php)?:
-------------------------------------------
[...]
// define the gif sample directory
define( "GIF_SAMPLE", "http://www2.dmsolutions.ca/cgi-bin/gifsample/" );

// define the default gif draw icon
//define( "DEFAULT_ICON", 
GIF_SAMPLE."20/15?color=CCCCCC&outline=000000&corner=1" );
define( "DEFAULT_ICON", "/usr/local/cwc2/htdocs/images/15-default.gif" );

// define the blank gif draw icon to use for the layer icon
//define( "BLANK_ICON", 
GIF_SAMPLE."20/15?color=000000&symbolid=6&symbolsize=4");
define( "BLANK_ICON", "/usr/local/cwc2/htdocs/images/15-blank.gif" );
[...]
-------------------------------------------

Thanks

Markus Schnider


More information about the Chameleon mailing list