View source: R/tm_components.R
tm_title | R Documentation |
Map component that adds a title
tm_title(
text,
size,
color,
padding,
fontface,
fontfamily,
alpha,
stack,
just,
frame,
frame.color,
frame.alpha,
frame.lwd,
frame.r,
bg,
bg.color,
bg.alpha,
position,
group_id,
width,
height,
z
)
tm_title_in(text, ..., position = tm_pos_in("left", "top"))
tm_title_out(text, ..., position = tm_pos_out("center", "top"))
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.color |
frame color |
frame.alpha |
frame alpha transparancy |
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 |
... |
passed on to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.