Extension:KML Export/Style syntax/da

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:KML Export/Style syntax and the translation is 80% complete.

Other languages:
English • ‎dansk • ‎日本語
KML Export Features Installation Quick start How to use Parser functions Special pages Configuration Style syntax

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

Currently supported style definitions are: <LineStyle>, <PolyStyle>, <IconStyle>, <LabelStyle>, <BalloonStyle>.

IconStyle

Syntaks

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

Argumenter

color (optional)
Icon color in #aabbggrr 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.

LabelStyle

Syntaks

LabelStyle(#color random scale=scale)

Argumenter

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

LineStyle

Syntaks

LineStyle(#color random width=width)

Argumenter

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

PolyStyle

Syntaks

PolyStyle(#color random nofill nooutline)

Argumenter

color (optional)
Polygon fill color in #aabbggrr 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.

BalloonStyle

Syntaks

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

Argumenter

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

Eksempler

See kml.style for examples.

Se også