Render Custom Points |
Custom points are drawn in the same way as standard points and take the same parameters.
Syntax | cam RENDER '[' filter{,filter}[:"<country>"{,"<country>"}] ']', symbol[, render_behavior][, label [, position][, render_behavior]] |
Example | cam RENDER [group == urgent], BOX<PEN<!black,1>,BRUSH<!white>>, ALWAYS_RENDER, LABEL<!myfont>, ON_SYMBOL, ALWAYS_RENDER RENDER [all:"Uruguay"], DOT<round,10,BRUSH<(40,0,0)>,BRUSH<!red>>, ALWAYS_RENDER |
Note |
---|
You will likely want to set the colname for any Label objects. This will default to "name" if you do not specify it. |
Caution |
---|
If no label is specified and there is no ALWAYS_RENDER on the symbol, the point feature will not be drawn at all. So, if you wanted to render symbol and label only if there is space for both, you need to omit both ALWAYS_RENDER parameters, but specify a label. |
One or more of the point type filters.
An optional list of countries, separated by commas. Country names should match those in the Country enumeration, and should be listed in quotation marks. This argument limits the rendering performed by this statement to the countries specified. If no countries are specified, then the statement will render for all countries which were not matched by earlier statements.
The symbol to draw. This can be an Icon, Box, Dot, Circle, or Square object, with parameters specified within angle brackets (<>). This can also be NULL, if you want to specify a label only.
The label to draw with the symbol. This is optional.
Specifies whether the label should be drawn on the symbol, or beside it, by specifying ON_SYMBOL or BESIDE_SYMBOL, respectively. Optional, defaults to BESIDE_SYMBOL.
The first ALWAYS_RENDER parameter specifies whether the symbol (icon, box, or dot) should be drawn if there is not enough space. The second ALWAYS_RENDER parameter specifies whether the label should be drawn if there is not enough space. These options are possible:
Optional, defaults to rendering symbol and label only if there is enough space.