Nothing
with_mock_dir("t/add_map_layer", {
test_that("add layer works", {
actual <- felt_add_map_layers(
map_id = 'Rockland-2024-Districts-TBI8sDkmQjuK2GX9CSiHiUA',
file_names = fs::path_package('feltr', 'towns.geojson'),
name = 'Towns')
expect_equal(length(actual), 1)
expect_equal(class(actual), 'character')
})
})
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.