These functions are deprecated.
Please use leafpop::popupTable,
leafpop::popupImage
and leafpop::popupGraph instead.
popupTable(x, zcol, row.numbers = TRUE, feature.id = TRUE)popupImage(img, src = c("local", "remote"), embed = FALSE, ...)
popupGraph(graphs, type = c("png", "svg", "html"), width = 300,
height = 300, ...)
A Spatial* object.
numeric or character vector indicating the columns
included in the output popup table. If missing, all columns are displayed.
logical whether to include row numbers in the popup table.
logical whether to add 'Feature ID' entry to popup table.
A character vector of file path(s) or
web-URL(s) to any sort of image file(s).
Whether the source is "local" (i.e. valid file path(s)) or "remote" (i.e. valid URL(s)).
whether to embed the (local) images in the popup html as base64 ecoded. Set this to TRUE if you want to save and share your map, unless you want render many images, then set to FALSE and make sure to copy ../graphs when copying the map to a different location.
further arguments passed on to underlying methods such as height and width.
A list of figures associated with x.
Output filetype, one of "png" (default), "svg" or "html".
popup width in pixels.
popup height in pixels.