Opened 15 years ago
Closed 13 years ago
#2980 closed enhancement (fixed)
HTML Legend, leg_layer_queryable
Reported by: | adube | Owned by: | jmckenna |
---|---|---|---|
Priority: | normal | Milestone: | 5.6 release |
Component: | Documentation - MapServer | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | jmckenna, havatv |
Description
It would be useful to have a new leg_layer_queryable tag for the layer block in the HTML Legend to have access to the layer template value. Simply, 1 would be true, 0 false.
Change History (6)
comment:1 by , 15 years ago
Cc: | removed |
---|
comment:2 by , 15 years ago
Cc: | added |
---|---|
Status: | new → assigned |
Committed to SVN trunk r8917 (future 6.0).
We need to update the docs with the information above. Adding Jeff to CC to find out what is the correct way to update the docs while making it clear that the 3 new items are only available in 6.0
comment:3 by , 14 years ago
Component: | MapServer C Library → MapServer Documentation |
---|---|
Owner: | changed from | to
Status: | assigned → new |
comment:4 by , 14 years ago
(BTW, I realize that comment:2 above said that was added in v6.0, but this note is incorrect because it was written before we decided to insert a 5.6 release between 5.4 and 6.0. This was really added in 5.6.)
comment:5 by , 14 years ago
Milestone: | 6.0 release → 5.6 release |
---|
comment:6 by , 13 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Actually, I would not add a [leg_layer_queryable] tag, but instead I'd add a new "layer_queryable" variable for use in [if ...] tags. It would work exactly the same way as the current "layer_visible" [if ...] variable.
The http://www.mapserver.org/output/html_legend.html should be updated as follows: