Skip to contents

Params

Usage

bt_param(
  margin = 1,
  width = 1000,
  projection,
  extent = NULL,
  background = NULL,
  clip = FALSE,
  reverse = FALSE
)

Arguments

margin

margin

width

width in px

projection

projection of the map

extent

a feature or a bbox array defining the extent.It could be a country or [[112, -43],[153, -9]]

background

color of the background

clip

a boolean to avoid artifacts of discontinuous projection

reverse

a boolean. By default, the layer placed on the topof the code is display on the top of the map.With reverse : true, your can reverse this order

Value

A list of params

Examples

bt_param(margin = 10)
#> $params
#> $params$margin
#> [1] 10
#> 
#> $params$width
#> [1] 1000
#> 
#> $params$clip
#> [1] FALSE
#> 
#> $params$reverse
#> [1] FALSE
#> 
#>