Map side-panel UI for a PTI page
mod_leaf_side_panel_ui.RdComposes the side-panel of a PTI map: an optional caller-supplied `side_ui` block (typically the weights-input box), the n-bins selector (`mod_get_nbins_ui()`), the admin-level selector (`mod_get_admin_levels_ui()`), and the per-format download links (`mod_map_dwnld_ui()`). The whole panel is rendered inside a floating `shiny::absolutePanel()` overlaid on the leaflet output.
Usage
mod_leaf_side_panel_ui(
id,
side_width = 200,
side_ui = NULL,
map_dwnld_options = c("shapes", "metadata"),
...
)Arguments
- id
Character. Shiny module namespace ID. Wired to the matching per-widget servers (`mod_get_nbins_srv()`, `mod_get_admin_levels_srv()`, `mod_map_dwnld_srv()`).
- side_width
Numeric. Side-panel width in pixels.
- side_ui
Tag list or `NULL`. Caller-supplied content placed at the top of the panel (e.g. the compact weights-input UI).
- map_dwnld_options
Character vector of download options to expose. Any subset of `c("data", "weights", "shapes", "metadata")`. `NULL` or empty means no download options.
- ...
Unused; retained for forward compatibility.