#' 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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.