Description Usage Arguments Value Author(s) References See Also
This function displays the specified image at a location on Google Earth/Maps. We might use this for example to overlay a rasterized model fit or a plot. (Alternatively, we can use the KML device to create R plots using KML elements.)
This is different from displaying an image on the screen, e.g. for a legend. This places the image at the given longitude, latitude rather than relative to screen coordinates.
1 |
icon |
the name of the file containing the image to be overlayed |
long,lat |
the longitude and latitude at which to locate the image |
width,height |
the width and height of the image in units of longitude and latitude. |
rot |
how much to rotate the image. This is an angle between 180 and -180. |
... |
additional parameters. Currently ignored. |
name |
the name to use for the GroundOverlay KML element. This will be displayed in the Google Earth places list to identify the element. |
parent |
the parent XML node for the new GroundOverlay node. THis
can be |
An XML internal node giving a GroundOverlay
element.
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.