library(tmap) library(sf) null_island = st_point(c(0, 0)) null_island = st_sfc(null_island, crs = "EPSG:4326") null_island = st_sf(name = "Null Island", geom = null_island) tm_shape(null_island) + tm_graticules(labels.col = "gray40") + tm_text("name", size = 5, fontface = "italic") + tm_layout(bg.color = "lightblue") + tm_title("You are here:", color = "gray40")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.