tab_map: Create a leaflet map

Description Usage Arguments

View source: R/utils_ui.R

Description

This map creates a leaflet map. It takes an optional list of widgets to display on the map and places them on top.

Usage

1
2
3
4
5
6
tab_map(
  title = "Map",
  id = "map",
  outputFunction = leaflet::leafletOutput,
  on_map_widgets = list(NULL)
)

Arguments

title

title for the tab

id

id of the output to plot

outputFunction

the Output function that draws the plot,. usually 'leaflet::leafletOutput'

on_map_widgets

doesn't actually work because idk if we're doing that anymore?


ReseauBiodiversiteQuebec/mapselector documentation built on Feb. 22, 2022, 3:13 p.m.