Extension:KML Export/Style syntax

This page describes the syntax of style definitions, used by ../kml.style/.

Currently supported style definitions are: , , ,  and .

Syntax
IconStyle(#color random href=address scale=scale heading=heading)

Arguments

 * color (optional): Icon color in  format.
 * random (optional): If present, color is chosen at random.
 * href (optional): Address of the icon to be used.
 * scale (optional): Resizes the icon.
 * heading (optional): Compass direction, in degrees.

Syntax
LabelStyle(#color random scale=scale)

Arguments

 * color (optional): Label color in  format.
 * random (optional): If present, color is chosen at random.
 * scale (optional): Resizes the label.

Syntax
LineStyle(#color random width=width)

Arguments

 * color (optional): Line color in  format.
 * random (optional): If present, color is chosen at random.
 * width (optional): Width of the line, in pixels.

Syntax
PolyStyle(#color random nofill nooutline)

Arguments

 * color (optional): Polygon fill color in  format.
 * random (optional): If present, color is chosen at random.
 * nofill (optional): If present, polygon is not filled.
 * nooutline (optional): If present, polygon outline is not drawn.

Syntax
BalloonStyle(bgcolor=#bgcolor textcolor=#textcolor text)

Arguments

 * bgcolor (optional): Balloon background color in  format.
 * textcolor (optional): Balloon text color in  format.
 * text (optional): Template of the balloon. Use ../kml.text/ to insert wiki text here.

Examples
See ../kml.style/ for examples.