| addTitle | R Documentation |
addTitle
addTitle(
map_object,
title,
group = "Title",
opacity = 1,
size = "16px",
align = "center",
style = list(opacity = "{opacity}", `font-size` = "{size}", `text-align` = "{align}",
`background-color` = "white", position = "fixed !important", bottom = "0%", left =
"0%", width = "100%", padding = "0", margin = "0", `padding-top` = "6px",
`padding-bottom` = "6px", `font-weight` = "normal"),
position = "topleft",
...
)
map_object |
leaflet map |
title |
character |
size |
character |
position |
character |
modified leaflet map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.