View source: R/tm_misc_elements.R
tmap_last | R Documentation |
Retrieve the last map to be modified or created. Works in the same way as ggplot2
's last_plot
, although there is a difference: last_map
returns the last call instead of the stacked tmap-elements
.
tmap_last()
call
tmap_save
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.