R/box.R

Defines functions add_box

Documented in add_box

#' Add a (text) box to the map
#'
#' @inheritParams add_layer
#' @param content The text which will be displayed on the map
#' @param position position on the map
#' @export
add_box <- function(map, content, position = "top-right") {
  invoke_method(map, "addBox", content, position)
}
crazycapivara/cartovl documentation built on Nov. 4, 2019, 9:16 a.m.