View source: R/tm_components.R
tm_title | R Documentation |
Map component that adds a title
tm_title(
text,
size,
color,
padding,
fontface,
fontfamily,
stack,
just,
frame,
frame.lwd,
frame.r,
bg.color,
bg.alpha,
position,
width,
height,
group.frame,
resize.as.group,
z
)
tm_title_in(text, ..., position = tm_pos_in("left", "top"))
tm_title_out(text, ..., position = tm_pos_out("center", "top"))
text |
text of the title |
size |
font size of the title |
color |
font color of the title |
padding |
padding |
fontface |
font face, bold, italic |
fontfamily |
font family |
stack |
stack |
just |
just |
frame |
frame |
frame.lwd |
frame line width |
frame.r |
frame.r |
bg.color |
Background color |
bg.alpha |
Background transparency |
position |
position |
width , height |
width and height of the title box. |
group.frame |
group.frame |
resize.as.group |
resize.as.group |
z |
z |
... |
passed on to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.