|
Attributes |
Description |
|
position |
The page position of the lower left corner of the legend, expressed in the
units specified in the units attribute of the <template> element. The
position should be two numbers separated by a comma (with no white space), representing
the x and y location. For example, if the units are "points", a value of "72,72" would
indicate a position one inch from the left side and bottom side of the page.
Required.
|
|
size |
The print size of the legend, expressed in the units defined in the "units" attribute of the
<template> element. The size should be two numbers separated by a comma
(with no white space), representing the width and the height of the space where the
legend image should be printed. For example, if the units are "points", the entry for an
legend occupying a two inch square would be size="144,144". Required.
|
|
dpi |
A numeric value indicating the resolution of the legend. Legend images are always
created at 72 dpi, so higher values can be used to request a larger image to print in
the same space, resulting in a higher resolution index map. Note that high resolutions
will result in small text. Try using dpi="144". Optional, defaults to "72".
|
|
columns |
A numeric value indicating the number of columns in the legend. If greater than one,
the legend will wrap at the bottom to the next column. Optional, defaults to "1".
|
|
layer-font-size |
The font size for the layer names in the legend, in points. Optional, defaults to "10".
|
|
value-font-size |
The font size for the values in the legend, in points. Optional, defaults to "9".
|
|
swatch-height |
The height of the legend swatches, expressed in the units defined in the "units" attribute
of the <template> element. Optional, defaults to 12 points.
|
|
swatch-width |
The width of the legend swatches, expressed in the units defined in the "units" attribute
of the <template> element. Optional, defaults to 18 points.
|
|
cell-spacing |
The distance between the legend swatches, in points. Optional, defaults to 3 points.
|
| |
|
|