View source: R/mod_get_layers.R
mod_get_layers_Server | R Documentation |
Process files (GeoPackages) uploaded by the user. For each file
uploaded, call list_layers
to list all layers in the GeoPacakge
and the temporary location of the GeoPackage.
mod_get_layers_Server(id)
id |
inputID to correspond to file upload UI component. |
field_layers
tibble with three columns: layers - layer name;
layer_disp_name - clean and informative layer name for select
input; file_path - temporary file path to data; and file_type - file type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.