Menu

RulerFills

Agnar Renolen

RulerFills

RulerFills allows you to fill the area between pairs of ruler lines with a color, for example to create a 'calibrated border'.

Attributes

color

Specifies the fill color. Default value is black.

interval

Specifies in map units, the distance between each fill edge.
Required.

evenodd

Specifies whether to fill the even or the odd intervals.
Legal values are:

  • even - fills the area from odd-valued to even-valued positions.
  • odd (default) - fills the area from even-valued to odd-valued positions

Example

<RulerFill color="red" evenodd="odd" interval="1km" />
<RulerFill color="white" evenodd="even" interval="1km" />

Related

Wiki: Ruler

MongoDB Logo MongoDB