Map component that adds a text, typically used as credits. This function is the same as tm_title()
but with different default values.
tm_credits(
text,
size,
color,
padding,
fontface,
fontfamily,
alpha,
stack,
just,
frame,
frame.lwd,
frame.r,
bg.color,
bg.alpha,
position,
width,
height,
group.frame,
resize_as_group,
z,
...
)
text
font size
font color
padding
font face, bold, italic
font family
alpha transparency of the text
stack with other map components, either "vertical"
or "horizontal"
.
just
frame
frame line width
Radius of the rounded frame corners. 0 means no rounding.
Background color
Background transparency
An object created with tm_pos_in()
or tm_pos_out()
. Or, as a shortcut, a vector of two values, specifying the x and y coordinates. The first is "left"
, "center"
or "right"
(or upper case, meaning tighter to the map frame), the second "top"
, "center"
or "bottom"
. Numeric values are also supported, where 0, 0 means left bottom and 1, 1 right top. See also vignette about positioning.
width and height of the text box.
group.frame
resize_as_group
z
to catch deprecated arguments