[Chameleon] add url to legend icon in legend template file
He, Matt Yubin
mhe at itsc.uah.edu
Thu Mar 23 09:09:54 EST 2006
Hi list:
In legend_template.html file, there is a line of code for
display legend icon:
<td><img src="[leg_icon width=20 height=18]" width="20"
height="20"></td>
In my map file, I defined my legend image as this:
class
keyimage "/legend_images/mylegend.jpg"
end
I am trying to add a URL to the legend icon in
legend_template.html file, so that when user click the legend icon, it
shows the real image defined in "KEYIMAGE", e.g.:
<td><a href="[XXXXX]"><img src="[leg_icon width=20 height=18]"
width="20" height="20"></a></td>
Does anyone know what I should put in (to replace XXXXX) to refer to the
keyimage?
Thanks.
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060323/43fabbc0/attachment-0001.html
More information about the Chameleon
mailing list