Extension:KML Export/Style syntax/en

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

Currently supported style definitions are: , , , , .

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 to insert wiki text here.

Examples
See for examples.