HTML legends
Blammo
bob.basques at CI.STPAUL.MN.US
Mon Dec 20 16:03:00 PST 2004
All,
I figured out how to filter for the layers that are DEFAULT for a given
zoom Value, I still haven't been able to figure out how to :
* Filter out the Labels in the LEGEND output. I don't want to see
them in the legend.
* I can't seem to figure out how to make the check boxes do thier
thing. (Question here, I have most of my layer set to DEFAULT,
how do I them OFF with the Legend controls? or do they need to be
set to ON and called specifically. If so, how do I initialize the
interface with the approraite layers for a given Zoom.
I've been putzing with this all day, and this is all I have to show for it:
[leg_layer_html ]
<input type=checkbox name=layer value=[leg_layer_name]
[if name=layer_status oper=eq value=2]CHECKED[/if]
[if name=layer_status oper=neq value=1][/if]/>
[/leg_layer_html]
[leg_class_html ]
<img src=[leg_icon] /> [leg_class_name]<br />
[/leg_class_html]
This output the correct Layers (except for filtering out the LABEL layers)
Thanks for any info on this.
bobb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041220/8274ce22/attachment.htm>
More information about the MapServer-users
mailing list