Click or drag to resize

Render Custom Polygons

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

Custom polygons take a single brush used for fill, and a pen used for outline. Either can be null, as in the case of standard polygons.

Custom Polygon Render Blocks
Syntax RENDER '[' filter{,filter}[:"<country>"{,"<country>"}] ']', brush, [, outline pen [, label]]
Example
cam
RENDER [size < 35], BRUSH<!green>, PEN<!darkgreen,1>
RENDER [all:"Brazil"], BRUSH<!orange>, PEN<!black,1>
Note Note

You will likely want to set the colname for any Label objects. This will default to "name" if you do not specify it.

Parameters

filter

One or more of the polygon type filters.

country

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.

brush

A brush with which to fill the polygon(s).

outline pen

A pen with which to draw the outline of the polygon(s). May be passed as null. Optional, defaults to null (no outline).

label

A label to render with the polygon(s). Optional, defaults to null (no label).