saveGATkml | R Documentation |
This function opens a dialog window for the user to select whether or not to save a KML file. The dialog window looks like this.
Figure: Screenshot of dialog to select KML save.png
Select "Yes" if you want to save a KML file. The default selection is "No".
Click on one of the following buttons.
Click Yes
if you would like to save a KML file.
Click No
if you do not want to save a KML file.
Click Back
to return to the previous step.
Click Help
to get further guidance and open the manual.
saveGATkml(
step = 0,
backopt = TRUE,
bgcol = "lightskyblue3",
buttoncol = "cornflowerblue",
quitopt = "Quit"
)
step |
Integer step in the GAT program, for help reference. |
backopt |
Boolean denoting whether to include the back button. |
bgcol |
Text string containing UI background color. |
buttoncol |
Text string containing UI button color. |
quitopt |
Text string for the cancel button. |
The resulting KML fie will contain all data, which can be accessed through Google Earth. GE 5.0 or higher is recommended. KML files were tested on GE in Chrome v9.2.90.1.
if (interactive()) {
saveGATkml()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.