Nothing
# gadm_removeBackground.gadm_sf -------------------------------------------
# =========================================================================
gadm_removeBackground.gadm_sf <- function(x) {
if (x$hasBGND == FALSE) {
warning("Map has no background.")
return(x)
}
x$hasBGND <- FALSE
x$BGND <- NULL
x
}
# gadm_removeBackground.gadm_sp -------------------------------------------
# =========================================================================
gadm_removeBackground.gadm_sp <- function(x) {
if (x$hasBGND == FALSE) {
warning("Map has no background.")
return(x)
}
x$hasBGND <- FALSE
x$BGND <- NULL
x
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.