User Tools

Site Tools


kml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
kml [2009/03/09 20:24] heidikml [2009/03/09 20:26] (current) heidi
Line 10: Line 10:
 A Placemark is one of the most commonly used features in Google Earth. It marks a position on the Earth's surface, using a yellow pushpin as the icon. The simplest Placemark includes only a <Point> element, which specifies the location of the Placemark. You can specify a name and a custom icon for the Placemark, and you can also add other geometry elements to it.  A Placemark is one of the most commonly used features in Google Earth. It marks a position on the Earth's surface, using a yellow pushpin as the icon. The simplest Placemark includes only a <Point> element, which specifies the location of the Placemark. You can specify a name and a custom icon for the Placemark, and you can also add other geometry elements to it. 
  
-Open the KML Samples file in Google Earth and expand the Placemarks subfolder. This folder includes three different types of placemark: simple, floating, and extruded. The KML code for the simple placemark looks like this: +Open the KML Samples file in Google Earth and expand the Placemarks subfolder. This folder includes three different types of placemark: simple, floating, and extruded. 
- +
-<code> +
-<?xml version="1.0" encoding="UTF-8"?> +
-<kml xmlns="http://www.opengis.net/kml/2.2"> +
-  <Placemark> +
-    <name>Simple placemark</name> +
-    <description>Attached to the ground. Intelligently places itself at the height of the underlying terrain.</description> +
-    <Point> +
-      <coordinates>-122.0822035425683,37.42228990140251,0</coordinates> +
-    </Point> +
-  </Placemark> +
-</kml> +
-</code> +
- +
  
 The structure of this file breaks down as follows: The structure of this file breaks down as follows:
kml.1236626687.txt.gz · Last modified: 2009/03/09 20:24 by heidi