Summary: | production_draw_legend with fix 'internet' URL | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Schnider Markus <msr@sourcepole.ch> |
Component: | Widget | Assignee: | Paul Spencer <pspencer@dmsolutions.ca> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | chameleon-dev@lists.maptools.org |
Priority: | P3 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 4 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
um. this was a temporary measure that never got looked at. For now you can modify the comments to look like: //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" ); // instead of 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"); // instead of define( "BLANK_ICON", "/usr/local/cwc2/htdocs/images/15-blank.gif" ); and modify the paths to suit your chameleon installation. I will look at a more permanent solution for the next version (not beta3 though)
GIF_SAMPLE is only referenced in the defines for DEFAULT_ICON and BLANK_ICON. DEFAULT_ICON is unused. BLANK_ICON is used only in one spot. I've replaced it with some gd magic to create an appropriately sized transparent image on the fly.