View source: R/tm_components.R
tm_credits | R Documentation |
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,
bg.color,
bg.alpha,
position,
group_id,
width,
height,
z,
...
)
text |
text |
size |
font size |
color |
font color |
padding |
padding |
fontface |
font face, bold, italic |
fontfamily |
font family |
alpha |
alpha transparency of the text |
stack |
stack with other map components, either |
just |
just |
frame |
frame should a frame be drawn? |
frame.lwd |
frame line width |
frame.r |
Radius of the rounded frame corners. 0 means no rounding. |
bg |
Show background? |
bg.color |
Background color |
bg.alpha |
Background transparency |
position |
The position specification of the component: an object created with |
group_id |
Component group id name. All components (e.g. legends, titles, etc) with the same |
width , height |
width and height of the component. |
z |
z index, e.g. the place of the component relative to the other componets |
... |
to catch deprecated arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.