View source: R/mod_get_layers.R
mod_get_layers_UI | R Documentation |
Generate UI component for file upload using Shiny's fileInput
to allow users to upload GeoPackages to a Shiny app.
mod_get_layers_UI(id, label, multiple, accept)
id |
inputID for file upload UI component. |
label |
label for file upload widget on the UI. |
multiple |
logical, whether to accept multiple file uploads. |
accept |
file types to accept - vector of strings indicating extensions or MIME type |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.