SHARE
TWEET

Google KML Sample

kijato May 31st, 2020 (edited) 731 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. https://developers.google.com/kml/documentation/kml_tut
  3. */
  4.  
  5. <?xml version="1.0" encoding="UTF-8"?>
  6. <kml xmlns="http://www.opengis.net/kml/2.2">
  7.  
  8. <Document>
  9. <name> Sample Document </name>
  10. <description>Place your mouse over the icon to see it display the new icon</description>
  11.  
  12. <Style id="p_s_normal">
  13.     <IconStyle>
  14.         <scale>0.5</scale>
  15.         <Icon><href>http://maps.google.com/mapfiles/kml/shapes/placemark_square.png</href></Icon>
  16.     </IconStyle>
  17. </Style>
  18.  
  19. <Style id="p_s_highlight">
  20.     <IconStyle>
  21.         <Icon><href>http://maps.google.com/mapfiles/kml/shapes/placemark_square_highlight.png</href></Icon>
  22.     </IconStyle>
  23. </Style>
  24.  
  25. <StyleMap id="p_s">
  26.     <Pair>
  27.         <key>normal</key>
  28.         <styleUrl>#p_s_normal</styleUrl>
  29.     </Pair>
  30.     <Pair>
  31.         <key>highlight</key>
  32.         <styleUrl>#p_s_highlight</styleUrl>
  33.     </Pair>
  34. </StyleMap>
  35.    
  36. <Folder>
  37. <name> Sample Folder </name>
  38.  
  39.   <Placemark>
  40.     <name>Sample placemark</name>
  41.     <description>Attached to the ground. Intelligently places itself at the height of the underlying terrain.</description>
  42.     <styleUrl>#p_s</styleUrl>
  43.     <Point><coordinates>19.0121756114,45.9711727390,100</coordinates></Point>
  44.   </Placemark>
  45.   <Placemark>
  46.     <name>Sample placemark2</name>
  47.     <description>Attached to the ground. Intelligently places itself at the height of the underlying terrain.</description>
  48.     <styleUrl>#p_s</styleUrl>
  49.     <Point><coordinates>19.2121756114,45.8711727390,100</coordinates></Point>
  50.   </Placemark>
  51.  
  52.  <Placemark>
  53.     <name>15-3442</name>
  54.     <styleUrl>#p_s</styleUrl>
  55.     <Point><coordinates>19.0121756115,45.971172739,100</coordinates></Point>
  56.  </Placemark>
  57.    
  58. </Folder>
  59.  
  60. </Document>
  61.    
  62. </kml>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top