Get basemap tiles providers and the credits (attribution text). tmap_providers() returns a list (or vector) with provider nams (or credits). tmap_provider_credits()
.tmap_providerstmap_provider_credits(provider)
tmap_providers(mode, credits = FALSE, as.list = credits)
list or vector (see as.list) with providers (or credits). tmap_provider_credits() returns the credits text for the provided provider.
An object of class environment of length 44.
provider name
mode. If not specified the default mode is used
If TRUE the credit (attribution) text is returned. If FALSE (default) the provider name.
Should the output be returned as list where names are provider names? By default TRUE when credits is also TRUE.