Skip to content

Instantly share code, notes, and snippets.

@Ravenstine
Last active September 1, 2015 20:48
Show Gist options
  • Save Ravenstine/32a3bb5a0d4498e59af8 to your computer and use it in GitHub Desktop.
Save Ravenstine/32a3bb5a0d4498e59af8 to your computer and use it in GitHub Desktop.
adjusted_kml_file
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns='http://www.opengis.net/kml/2.2'>
<Document>
<name>testmap1</name>
<description><![CDATA[]]></description>
<Folder>
<name>Untitled layer</name>
<Placemark>
<name>Point 1</name>
<styleUrl>#icon-503-DB4436-nodesc</styleUrl>
<ExtendedData>
</ExtendedData>
<Point>
<coordinates>-118.10302729999998,33.9251297,0.0</coordinates>
</Point>
</Placemark>
<Placemark>
<name>Line 2</name>
<styleUrl>#line-000000-1-nodesc</styleUrl>
<ExtendedData>
</ExtendedData>
<LineString>
<tessellate>1</tessellate>
<coordinates>98.0859375,35.46067,0.0 49.5703125,47.9899217,0.0 -31.113281199999996,-68.3343759,0.0 -118.10302729999998,33.9251297,0.0 -117.94921870000002,36.7388841,0.0</coordinates>
</LineString>
</Placemark>
<Placemark>
<name>Line 3</name>
<styleUrl>#line-000000-1-nodesc</styleUrl>
<ExtendedData>
</ExtendedData>
<LineString>
<tessellate>1</tessellate>
<coordinates>131.8359375,66.372755,0.0 135.3515625,74.2119825,0.0</coordinates>
</LineString>
</Placemark>
<Placemark>
<name>Point 4</name>
<description><![CDATA[<a href="https://youtube.com/watch?v=Dx4sL0w3SHM"><img src="http://img.youtube.com/vi/Dx4sL0w3SHM/hqdefault.jpg" height="200" width="auto" /></a><br><br><a href="https://youtube.com/watch?v=Dx4sL0w3SHM">https://youtube.com/watch?v=Dx4sL0w3SHM</a><br><br>]]></description>
<styleUrl>#icon-503-DB4436</styleUrl>
<ExtendedData>
<Data name='gx_media_links'>
<value>https://youtube.com/watch?v=Dx4sL0w3SHM</value>
</Data>
</ExtendedData>
<Point>
<coordinates>-95.9765625,36.8796206,0.0</coordinates>
</Point>
</Placemark>
</Folder>
<Style id='icon-503-DB4436-normal'>
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://www.gstatic.com/mapspro/images/stock/503-wht-blank_maps.png</href>
</Icon>
<hotSpot x='16' y='31' xunits='pixels' yunits='insetPixels'>
</hotSpot>
</IconStyle>
<LabelStyle>
<scale>0.0</scale>
</LabelStyle>
</Style>
<Style id='icon-503-DB4436-highlight'>
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://www.gstatic.com/mapspro/images/stock/503-wht-blank_maps.png</href>
</Icon>
<hotSpot x='16' y='31' xunits='pixels' yunits='insetPixels'>
</hotSpot>
</IconStyle>
<LabelStyle>
<scale>1.1</scale>
</LabelStyle>
</Style>
<StyleMap id='icon-503-DB4436'>
<Pair>
<key>normal</key>
<styleUrl>#icon-503-DB4436-normal</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#icon-503-DB4436-highlight</styleUrl>
</Pair>
</StyleMap>
<Style id='icon-503-DB4436-nodesc-normal'>
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://www.gstatic.com/mapspro/images/stock/503-wht-blank_maps.png</href>
</Icon>
<hotSpot x='16' y='31' xunits='pixels' yunits='insetPixels'>
</hotSpot>
</IconStyle>
<LabelStyle>
<scale>0.0</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[<h3>$[name]</h3>]]></text>
</BalloonStyle>
</Style>
<Style id='icon-503-DB4436-nodesc-highlight'>
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://www.gstatic.com/mapspro/images/stock/503-wht-blank_maps.png</href>
</Icon>
<hotSpot x='16' y='31' xunits='pixels' yunits='insetPixels'>
</hotSpot>
</IconStyle>
<LabelStyle>
<scale>1.1</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[<h3>$[name]</h3>]]></text>
</BalloonStyle>
</Style>
<StyleMap id='icon-503-DB4436-nodesc'>
<Pair>
<key>normal</key>
<styleUrl>#icon-503-DB4436-nodesc-normal</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#icon-503-DB4436-nodesc-highlight</styleUrl>
</Pair>
</StyleMap>
<Style id='line-000000-1-nodesc-normal'>
<LineStyle>
<color>ff000000</color>
<width>1</width>
</LineStyle>
<BalloonStyle>
<text><![CDATA[<h3>$[name]</h3>]]></text>
</BalloonStyle>
</Style>
<Style id='line-000000-1-nodesc-highlight'>
<LineStyle>
<color>ff000000</color>
<width>2.0</width>
</LineStyle>
<BalloonStyle>
<text><![CDATA[<h3>$[name]</h3>]]></text>
</BalloonStyle>
</Style>
<StyleMap id='line-000000-1-nodesc'>
<Pair>
<key>normal</key>
<styleUrl>#line-000000-1-nodesc-normal</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#line-000000-1-nodesc-highlight</styleUrl>
</Pair>
</StyleMap>
</Document>
</kml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment