globe_title.Rd
Add a title to a globe.
globe_title( globe, text, tag = shiny::tags$h1, vertical = c("top", "bottom"), horizontal = c("left", "right"), color = "#fff", margin = "3%" )
globe | An object of class |
---|---|
text | The text to display as title or subtitle. |
tag | The html tag to use, from tags. |
vertical, horizontal | Alignment of title. |
color | Color of title or title. |
margin | Margin from |
create_globe() %>% globe_pov(-21, 179) %>% globe_bars( coords(lat, long, label = stations), data = quakes ) %>% globe_title("A Globe!")