Nothing
context("test-leafgl-addGlPolygons")
test_that("addGlPolygons works", {
library(leaflet)
library(leafgl)
library(sf)
gadm = st_as_sf(gadmCHE)
m = leaflet() %>%
addGlPolygons(data = suppressWarnings(st_cast(gadm, "POLYGON")),
group = "pls", digits = 5)
expect_is(m, "leaflet")
})
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.