Skip to contents

Generate UI component for file upload using Shiny's fileInput to allow users to upload GeoPackages to a Shiny app.

Usage

mod_get_layers_UI(id, label, multiple, accept)

Arguments

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