As the example for "Point", "Style" can be defined and used the style id in "styleUrl".
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0"> <Document>
<Placemark>
<Polygon>
<altitudeMode>absolute</altitudeMode>
<outerBoundaryIs> <LinearRing>
<coordinates>
135.2, 35.4, 0.
135.4, 35.6, 10000.
135.2, 35.6, 5000.
135.2, 35.4, 0.
</coordinates>
</LinearRing> </outerBoundaryIs> </Polygon>
<Style>
<PolyStyle>
<color>#a00000ff</color>
<outline>0</outline>
</PolyStyle>
</Style>
</Placemark>
</Document> </kml>
As the example "Point", altitude relative to the ground can be specified by
"<altitudeMode>relativeToGround</altitudeMode>"
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0"> <Document>
<Placemark>
<name> New Polygon</name>
<TimeSpan>
<begin>2010-12-20T03:00:00Z</begin>
<end>2010-12-21T02:59:59Z</end>
</TimeSpan>
<description>This is a new polygon.</description>
<Polygon>
<altitudeMode>absolute</altitudeMode>
<outerBoundaryIs> <LinearRing>
<coordinates>
135.2, 35.4, 0.
135.4, 35.6, 10000.
135.2, 35.6, 5000.
135.2, 35.4, 0.
</coordinates>
</LinearRing> </outerBoundaryIs> </Polygon>
<Style>
<PolyStyle>
<color>#a00000ff</color>
<outline>0</outline>
</PolyStyle>
<BalloonStyle>
<bgColor>00664422</bgColor> <textColor>fffffff</textColor>
<text><![CDATA[ $[name] <HR> $[description] <BR>
<A HREF="http://www-step.kugi.kyoto-u.ac.jp/">SPEL Home page</A>
]]> </text>
</BalloonStyle>
</Style>
</Placemark>
</Document> </kml>
Time in Universal Time (UT) can be set by "YYYY-MM-DDTHH:MM:SSZ".
Start and end time are set by "