Skip to content

Instantly share code, notes, and snippets.

@michaeljymsgutierrez
Created July 2, 2021 07:16
Show Gist options
  • Save michaeljymsgutierrez/8f0c771da918905e0b6dca3bf9819f58 to your computer and use it in GitHub Desktop.
Save michaeljymsgutierrez/8f0c771da918905e0b6dca3bf9819f58 to your computer and use it in GitHub Desktop.
Example blank kml file for google kml
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<!-- Please change the "Location name here" -->
<name>Location name here</name>
<Style id="poly-000000-2000-77-nodesc-normal">
<LineStyle>
<color>ff000000</color>
<width>2</width>
</LineStyle>
<PolyStyle>
<color>4d000000</color>
<fill>1</fill>
<outline>1</outline>
</PolyStyle>
<BalloonStyle>
<text><![CDATA[<h3>$[name]</h3>]]></text>
</BalloonStyle>
</Style>
<Style id="poly-000000-2000-77-nodesc-highlight">
<LineStyle>
<color>ff000000</color>
<width>3</width>
</LineStyle>
<PolyStyle>
<color>4d000000</color>
<fill>1</fill>
<outline>1</outline>
</PolyStyle>
<BalloonStyle>
<text><![CDATA[<h3>$[name]</h3>]]></text>
</BalloonStyle>
</Style>
<StyleMap id="poly-000000-2000-77-nodesc">
<Pair>
<key>normal</key>
<styleUrl>#poly-000000-2000-77-nodesc-normal</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#poly-000000-2000-77-nodesc-highlight</styleUrl>
</Pair>
</StyleMap>
<Placemark>
<!-- Please change the "Location name here" -->
<name>Location name here</name>
<styleUrl>#poly-000000-2000-77-nodesc</styleUrl>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<tessellate>1</tessellate>
<!-- Add coordinates here with format longitude,latitude,0 -->
<coordinates>
121.120482,14.701358,0
121.120482,14.701358,0
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment