preview: Preview a kml Object

previewR Documentation

Preview a kml Object

Description

Allow you to quickly view your kml object. You must install Google Earth to your computer. Make sure .kml ae associated with google earth by defult

Usage

yourkml$preview()

Author(s)

Brent Cameron
Department of Fisheries and Oceans Canada
Population Ecology Division

References

Google Earth Download

Examples


mykml = RKmlObject()

mykml$addFolder(fid = "EMPTY", name = "EMPTY")
x = data.frame(cbind(c(45.9178, 46.807), c(-59.967, -60.321)))
names(x) = c("lat", "lon")
mykml$addPoint(x)
#mykml$preview()


brent0/kmlbuilder documentation built on Feb. 2, 2024, 2:05 a.m.