#99 closed defect (fixed)
Problems with new HTML Legend
Reported by: | Owned by: | dmorissette | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer CGI | Version: | 3.6 |
Severity: | normal | Keywords: | |
Cc: | sfournier@… |
Description
I get the following error as soon as I add a TEMPLATE keyword in the LEGEND section: Content-type: text/html generateLayerTemplate(): Web application error. Invalid pointer. The legend template looks like: <table> [leg_layer_html] <tr><td><img src="[leg_icon]"></td><td>[leg_layer_name]</td></tr> [/leg_layer_html] </table> and the legend entry look slike: LEGEND TEMPLATE /home/mapdata/nac/legend.html # LABEL # FONT arial # TYPE truetype # SIZE 8 # COLOR 0 0 0 # END # IMAGECOLOR 255 255 255 # STATUS on END The layers have NO metadata associated to them right now, since it shouldn't be needed for this simple a legend. The compile was done from CVS as of today, on a RedHat 7.1 box. There were no warnings reported that seemed related to the legend ... that's it! Thanks, J.F.
Note:
See TracTickets
for help on using tickets.