attribution.Rd
Functions providing link to Targomo Attributions page, depending on plan.
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.
# \donttest{ # load leaflet package library(leaflet) # add an attribution iframe to a map leaflet() %>% addTargomoAttribution(free_plan = FALSE) # } # return the attribution link attributionLink()#> [1] "https://targomo.com/developers/resources/attribution/"