Add Cesium

add_cesium(map, data, layer_id = NULL, ion_token = NULL)

Examples

# \donttest{ ## Melbourne point cloud ion_asset <- 43978 tile_data <- paste0("https://assets.cesium.com/",ion_asset,"/tileset.json") mapdeck() %>% add_cesium( data = tile_data , ion_token = secret::get_secret("ion") )
#> cesium is an experimental layer and the function may change without warning
# }