View source: R/fct_add_popups.R
add_popups | R Documentation |
add_popups
creates a popup label containing values of selected
columns for a feature selected through an on-click event on a leaflet
web map.
add_popups(in_df, layer_id, label_vars)
in_df |
an sf data frame object that is displayed on the leaflet web map. |
layer_id |
The |
label_vars |
The column(s) from |
a html popup label to be displayed on the Leaflet web map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.