Nothing
test_that("map servers can be opened", {
nhd <- file.path(
"https://hydro.nationalmap.gov",
"arcgis/rest/services",
"NHDPlus_HR",
"MapServer"
)
nhd_srv <- arc_open(nhd)
expect_snapshot(nhd_srv)
})
test_that("layers can be retrieved from mapserver's", {
nhd <- file.path(
"https://hydro.nationalmap.gov",
"arcgis/rest/services",
"NHDPlus_HR",
"MapServer"
)
nhd_srv <- arc_open(nhd)
expect_no_error(get_layer(nhd_srv, 0))
expect_no_error(get_layers(nhd_srv, id = c(0, 2)))
})
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.