Skip to contents

Footer

Usage

bt_footer(
  bertin,
  text = "",
  fontSize = 15,
  anchor = "end",
  fill = "#9e9696",
  background = "white",
  backgroundOpacity = 1,
  display = 1
)

Arguments

bertin

map object

text

text to display

fontSize

text size

anchor

text anchor. start, middle, end

fill

fill color

background

color of the background

backgroundOpacity

background opacity

display

Boolean to allow to show or hide the layer. This parameter has no effect on the calculation of the extent

Value

a map object

Examples

library(sf)#' library(sf)
world <- st_read(system.file("gpkg/world.gpkg", package = "bertin"),
                 layer = "world", quiet = TRUE)
bt_param(margin = 10, width = 500, projection = "Winkel3") |>
  bt_layer(data = world, fill = "red") |>
  bt_footer(text = "Title") |>
  bt_draw()