Some of the element attributes in the file can be specified in paper units. The unit should be written immediately after the nominal value ("10mm") or a space between ("10 mm").
The following units are supported:
If no unit is provided, points (pt) is assumed.
Some of the element attributes may be specifies in map units or in latitude/longitude units:
For coordinate values, the following units are supported:
For longitude and latitude values, the following units are supported:
Some elements are specified as fractions of a containing dimension. These values can be either specified as percent as in "50%", as a floating number as in "0.5", or as a fraction as in "1/2".
Some elements requires you to specify a color. This can be specified by their name, by their RGB components or the CMYK components. If your intent is to produce a frame for print, use CMYK-specifiers, otherwise, use RGB or named colors.
Colors can be specified in the following ways:
color name - Simply specify the name of the color. The color names
recognized are the same colors that are defined in the colors class
of the rebortlab.lib module.
cmyk(<cyan>,<magenta>,<yellow>,<black>)</black></yellow></magenta></cyan> - Specifies in percent, the
components of he color. For example the following value specifies the
/brown/ color: cmyk(0,56,100,20)
rgb(<red>,<green>,<blue>)</blue></green></red> - Specifies in range 0 to 255 the amount of
red green and blue. The following value specifies yellow:
rgb(255,255,0).
#<red><green><blue></blue></green></red> - Specifies the color using Web specification.
rgb(255,255,0) equals #FFFF00.
Currently, mapframer only supports the following fonts.
| Helvetica | Times-Roman | Courier | ||
| Helvetica-Bold | Times-Bold | Courier-Bold | ||
| Helvetica-Oblique | Times-Italic | Courier-Oblique | ||
| Helvetica-BoldOblique | Times-BoldItalic | Courier-BoldOblique |