R/tmapGridProviders.R

Defines functions tmapGridProviders

tmapGridProviders = function(credits) {
	x = maptiles::get_providers()
	if (credits) {
		lapply(x, "[[", "cit")
	} else {
		lapply(x, "[[", "src")
	}
}

Try the tmap package in your browser

Any scripts or data that you put into this service are public.

tmap documentation built on June 26, 2026, 5:08 p.m.