Opened 19 years ago

Last modified 15 years ago

#1172 closed enhancement

add html header and footer tags for layer and class blocks in legend templates — at Version 3

Reported by: schut@… Owned by: mapserver-bugs@…
Priority: high Milestone: 6.0 release
Component: MapServer CGI Version: unspecified
Severity: minor Keywords:
Cc: eidsnessl@…

Description (last modified by sdlime)

In addition to the general legend html header and footer tags [leg_header_html]
and [leg_footer_html] I would like to see the same kind of tags for the separete
legend components, especially for layer and class but then why not also for
group too. So we would get [leg_group_header_html], [leg_layer_header_html],
[leg_class_header_html], their closing equivalents, and the corresponding footer
tags. Code that is between these [header] [/header] tags will be placed before
the parsed group/layer/class block, code in the footer tags after the
corresponding block, just like code within the generic [leg_header_hmtl] and
[leg_footer_html] tags is placed before and after the entire parsed legend block.
To illustrate one situation where this would come in handy: if you want to place
all layers of a group in one <div id=layerblock> </div> block to have it
rendered using css id's/classes.

Change History (3)

comment:1 by dmorissette, 19 years ago

Cc: mapserver-bugs@… added

comment:2 by godwinl@…, 19 years ago

Cc: godwinl@… added

comment:3 by sdlime, 16 years ago

Description: modified (diff)
Milestone: 5.4 release
Owner: changed from sdlime to mapserver-bugs@…
Note: See TracTickets for help on using tickets.