Nothing
# inherited visulalisation method
#if (!isGeneric("gvisMap")) {
setGeneric("quicklook",
function (x)
standardGeneric("quicklook")
)
#}
# gvisMap package
setMethod("quicklook",
signature(x = "Vegsoup"),
function (x) {
# suppressPackageStartupMessages(require(googleVis))
pt <- SpatialPointsVegsoup(x)
if (nrow(pt) > 1) {
df <- data.frame(LatLong = apply(coordinates(pt)[, c(2,1)], 1,
function (x) paste(x, collapse = ":")),
Tip = pt$plot)
} else {
df <- data.frame(LatLong = paste(coordinates(pt)[, c(2,1)], collapse = ":"),
Tip = pt$plot)
}
m <- gvisMap(df, "LatLong" , "Tip")
plot(m)
return(invisible(m))
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.