Description Usage Arguments Value Examples
Functions providing link to Targomo Attributions page, depending on plan.
1 2 3 4 5 6 7 | attributionFreeIframe()
attributionOtherIframe()
attributionLink()
addTargomoAttribution(map, free_plan = TRUE, ...)
|
map |
A leaflet map |
free_plan |
Logical - is the Targomo plan you're using free or paid? |
... |
Further arguments to pass to |
A link or iframe to the attributions page.
1 2 3 4 5 6 7 8 9 | # load leaflet package
library(leaflet)
# add an attribution iframe to a map
leaflet() %>%
addTargomoAttribution(free_plan = FALSE)
# return the attribution link
attributionLink()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.