R/l_plot_map.R

Defines functions l_plot.map

Documented in l_plot.map

#' @rdname l_plot
#' @export
#'
#' @seealso Map layer \code{\link{l_layer}}, \code{\link{l_layer.map}},
#'   \code{\link[maps]{map}}

l_plot.map <-  function(x, y = NULL, ...) {

    p <- l_plot.default()
    l_layer.map(p, x, label="Map",  ...)
    l_scaleto_world(p)
    p
}

Try the loon package in your browser

Any scripts or data that you put into this service are public.

loon documentation built on June 14, 2021, 9:07 a.m.