Latitude and Longitude to kml File.
1 2 | latlong2kml(data, file = "plot.kml", label = "Site", long = "Longitude",
lat = "Latitude", geodatum = "WGS84")
|
data |
The data frame or spatial object with the locational information. |
file |
A string specifying the file name. |
label |
A string specifying the column with the labels. |
long |
A string of the name of the column in data with the longitudes. |
lat |
A string of the name of the column in data with the latitudes. |
geodatum |
A string of the geodatum for the longitudes and latitudes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.