Ticket #1188 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

[Documentation - HTML Legend] Added opt_flag for layer groups

Reported by: jlacroix Owned by: jmckenna@…
Priority: high Milestone:
Component: Documentation - MapServer Version: unspecified
Severity: normal Keywords:
Cc:

Description

In bug 1173, the support for opt_flag in layer groups.
This need to be documented

From bug 1173:
Added opt_flag support in the layer groups html template.
The opt_flag is applied on all layers in the group. If at least one layer match
the flag to show up, the group show up in the html legend.
The flags are:
1: If set, show layer even if out of scale (default: hide layers out of scale).
2: If set, show layer even if status is OFF (default: hide layers with STATUS OFF).
4: If set, show layer even if type is QUERY (default: hide layers of TYPE QUERY)
8: If set, show layer even if type is ANNOTATION (default: hide layers of TYPE
ANNOTATION) 

The default flag (if not set in the legend) is 15, sice it was the previous
behavior.

Change History

Changed 8 years ago by jlacroix

  • dependson set to 1173

Changed 8 years ago by dmorissette

  • cc dmorissette@… added
  • owner changed from kgeurts@… to jmckenna@…
Assigned to Jeff.

Changed 8 years ago by dmorissette

Update to docs:


The flags are:
1: If set, show group even if all layers in group are out of scale (default:
hide groups out of scale).
2: If set, show group even if all layers in group have status OFF (default: hide
groups with STATUS OFF).
4: If set, show group even if all layers in group are of type QUERY (default:
hide group of TYPE QUERY)
8: If set, show group even if all layers in group are of type ANNOTATION
(default: hide groups of TYPE ANNOTATION) 


Changed 8 years ago by jmckenna@…

  • status changed from new to assigned

Changed 8 years ago by jmckenna@…

  • status changed from assigned to closed
  • resolution set to fixed
added opt_flag section to group block for 4.6 html legends doc, in CVS.
Note: See TracTickets for help on using tickets.