Description Usage Arguments Value Author(s) References
This function creates a display for a polygon in KML given the
1 2 3 4 5 |
long,lat |
numeric vectors giving the longitude and latitude of the points to connect in the |
col |
the color for the |
fill |
a logical value indicating whether to fill the interior of the polygon (with col as the color?) |
lwd |
the line width to use for the outline of the polygon |
outline |
a logical value that provides the value for the outline element in the PolyStyle style object in KML |
style |
a description of the KML style to use. This can be list in R that is used to create a new Style element in KML, or a character string giving the name of a top-level Style. |
parent |
an XML internal node used as the parent node of the new Placemark XML node used to display this polygon. |
localStyle |
a logical value that controls whether to create the style locally or as a top-level style within the KML document. |
An XMLInternalNode giving the Placemark that contains the polygon description.
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.