<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0"> <Document>
<ScreenOverlay>
<Icon><href> ball.png </href></Icon>
<overlayXY x="0" y="0" xunits="fraction" yunits="fraction"/>
<screenXY x="0.05" y="0.05" xunits="fraction" yunits="fraction"/>
<size x="0.20" y="0.20" xunits="fraction" yunits="fraction"/>
</ScreenOverlay>
</Document> </kml>
Save "ball.png" in the same folder with the above kml file.
Image file can be a file on WWW, such as "http://www...../ball.png" .
To make one file with image files and kml file, combine the kml file and image files with "zip" command, and
set the extension ".kmz", such as "test.kmz".
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0"> <Document>
<ScreenOverlay>
<Icon><href> ball.png </href></Icon>
<overlayXY x="0" y="0" xunits="fraction" yunits="fraction"/>
<screenXY x="0.05" y="0.05" xunits="fraction" yunits="fraction"/>
<size x="0.20" y="0.20" xunits="fraction" yunits="fraction"/>
<color>55ffffff</color>
</ScreenOverlay>
</Document> </kml>
As the example of "LineString", the first two digit of color specify the taransparency, 00-ff.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0"> <Document>
<ScreenOverlay>
<Icon><href> ball.png </href></Icon>
<overlayXY x="0" y="0" xunits="fraction" yunits="fraction"/>
<screenXY x="0.05" y="0.05" xunits="fraction" yunits="fraction"/>
<size x="0.20" y="0.20" xunits="fraction" yunits="fraction"/>
<color>55ffffff</color>
<TimeSpan>
<begin>2010-12-20T03:00:00Z</begin>
<end>2010-12-21T02:59:59Z</end>
</TimeSpan>
<name> New image</name>
<description>This is a new image.</description>
<Style>
<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>
</ScreenOverlay>
</Document> </kml>
Time in Universal Time (UT) can be set by "YYYY-MM-DDTHH:MM:SSZ".
Start and end time are set by " <begin>" and "<end>”, respectively.