Functions providing link to Targomo Attributions page, depending on plan.

attributionFreeIframe()

attributionOtherIframe()

attributionLink()

addTargomoAttribution(map, free_plan = TRUE, ...)

Arguments

map

A leaflet map

free_plan

Logical - is the Targomo plan you're using free or paid?

...

Further arguments to pass to leaflet::addControl e.g. position

Value

A link or iframe to the attributions page.

Examples

# \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/"