Description Usage Arguments Value Author(s) References See Also
This creates the XML document to represent a KML document. Google Earth can display multiple KML document objects simultaneously.
In addition to creating the top-level <kml>
node,
it also creates the <Document>
and populates it with
meta data. This gives the document a name that appears in the
"Places" panel of the Google Earth display. The description
is the HTML text that is displayed if the viewer
clicks on the Folder entry for this document in the "Places" view.
We can also specify the initial view or "window" for this document which Google Earth will move to if the viewer selects this document by double-clicking on it.
1 2 |
docName |
the name to use in the Places panel |
description |
a description of this document. This can contain HTML markup.
It can be the name of a file in which case its contents are used as the text for the description.
To avoid this, use |
window |
a vector containing named values for specifying the initial "view" for this document.
This is passed to |
data |
an optional data frame assumed to have variables named longitude and latitude |
ns |
a character vector giving the names pace for the top-level
node. This defaults to kml as the prefix and
|
An object of class KMLDoc which is the top-level XML internal document.
Duncan Temple Lang
http://code.google.com/apis/kml/documentation/kmlreference.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.