View source: R/tm_components.R
tm_compass | R Documentation |
Map component that adds a compass
tm_compass(
north,
type,
text.size,
size,
show.labels,
cardinal.directions,
text.color,
color.dark,
color.light,
lwd,
position,
bg.color,
bg.alpha,
stack,
just,
frame,
frame.lwd,
frame.r,
margins,
z,
...
)
north |
north |
type |
compass type, one of: |
text.size |
text.size |
size |
size |
show.labels |
show.labels |
cardinal.directions |
cardinal.directions |
text.color |
text.color |
color.dark |
color.dark |
color.light |
color.light |
lwd |
lwd |
position |
An object created with |
bg.color |
Background color |
bg.alpha |
Background transparency |
stack |
stack with other map components, either |
just |
just |
frame |
frame |
frame.lwd |
frame line width |
frame.r |
Radius of the rounded frame corners. 0 means no rounding. |
margins |
margins |
z |
z |
... |
to catch deprecated arguments (alpha) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.