Sample KML Code
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document id="Type of Race Riots">
<name>Type of Race Riots</name>
<Snippet></Snippet>
<Folder id="FeatureLayer0">
<name>Type of Race Riots</name>
<Snippet></Snippet>
<Placemark>
<name>Asbury Park, NJ</name>
<Snippet></Snippet>
<description><![CDATA[<html xmlns:fo="http://www.w3.org/1999/XSL/Format"> <body leftmargin="0" topmargin="0" bottommargin="0" rightmargin="0"> <font face="Arial"> <table border="1" width="300" cellpadding="5" cellspacing="0"> <tr bgcolor="#9CBCE2"> <th width="50" align="left">Field Name</th> <th width="50" align="left">Field Value</th> </tr> <tr> <td>location</td> <td>Asbury Park, NJ</td> </tr> <tr bgcolor="#D4E4F3"> <td>setting</td> <td>Urban</td> </tr> <tr> <td>type</td> <td>Labor</td> </tr> <tr bgcolor="#D4E4F3"> <td>date_</td> <td>1970</td> </tr> </table> </font> </body> </html> ]]></description>
<styleUrl>#IconStyle00</styleUrl>
<Point>
<extrude>0</extrude>
<altitudeMode>relativeToGround</altitudeMode>
<coordinates> -74.012014,40.220405,0.000000</coordinates>
</Point>
</Placemark>
...
<Placemark>
<name>Bloomington, IN</name>
<Snippet></Snippet>
<description><![CDATA[<html xmlns:fo="http://www.w3.org/1999/XSL/Format"> <body leftmargin="0" topmargin="0" bottommargin="0" rightmargin="0"> <font face="Arial"> <table border="1" width="300" cellpadding="5" cellspacing="0"> <tr bgcolor="#9CBCE2"> <th width="50" align="left">Field Name</th> <th width="50" align="left">Field Value</th> </tr> <tr> <td>location</td> <td>Bloomington, IN</td> </tr> <tr bgcolor="#D4E4F3"> <td>setting</td> <td>Urban</td> </tr> <tr> <td>type</td> <td>Race</td> </tr> <tr bgcolor="#D4E4F3"> <td>date_</td> <td>1903</td> </tr> </table> </font> </body> </html> ]]></description>
<styleUrl>#IconStyle01</styleUrl>
<Point>
<extrude>0</extrude>
<altitudeMode>relativeToGround</altitudeMode>
<coordinates> -86.526453,39.165441,0.000000</coordinates>
</Point>
</Placemark>
</Folder>
<Style id="IconStyle00">
<IconStyle>
<Icon><href>000000.png</href></Icon>
<scale>1.000000</scale>
</IconStyle>
<LabelStyle>
<color>00000000</color>
<scale>0.000000</scale>
</LabelStyle>
</Style>
<Style id="IconStyle01">
<IconStyle>
<Icon><href>000001.png</href></Icon>
<scale>1.000000</scale>
</IconStyle>
<LabelStyle>
<color>00000000</color>
<scale>0.000000</scale>
</LabelStyle>
</Style>
<Style id="IconStyle023">
<IconStyle>
<Icon><href>000002.png</href></Icon>
<scale>1.000000</scale>
</IconStyle>
<LabelStyle>
<color>00000000</color>
<scale>0.000000</scale>
</LabelStyle>
</Style>
<Style id="IconStyle028">
<IconStyle>
<Icon><href>000003.png</href></Icon>
<scale>1.000000</scale>
</IconStyle>
<LabelStyle>
<color>00000000</color>
<scale>0.000000</scale>
</LabelStyle>
</Style>
<Style id="IconStyle039">
<IconStyle>
<Icon><href>000004.png</href></Icon>
<scale>1.000000</scale>
</IconStyle>
<LabelStyle>
<color>00000000</color>
<scale>0.000000</scale>
</LabelStyle>
</Style>
<Style id="IconStyle071">
<IconStyle>
<Icon><href>000005.png</href></Icon>
<scale>1.000000</scale>
</IconStyle>
<LabelStyle>
<color>00000000</color>
<scale>0.000000</scale>
</LabelStyle>
</Style>
</Document>
</kml> |