| widget_point {spatialwidget} | R Documentation |
Converts an 'sf' object with POINT geometriers into JSON for plotting in an htmlwidget
widget_point( data, fill_colour = NULL, fill_opacity = NULL, lon = NULL, lat = NULL, legend = TRUE, json_legend = TRUE, digits = 6 )
data |
|
fill_colour |
string specifying column of |
fill_opacity |
string specifying column of |
lon |
string specifying the column of |
lat |
string specifying the column of |
legend |
logical indicating if legend data will be returned |
json_legend |
logical indicating if the legend will be returned as json |
digits |
number of decimal places for rounding lon o& lat coordinates. Default 6 |
l <- widget_point( data = widget_capitals, legend = FALSE )