This sets the acmap legend used when viewing a map for example.
setLegend(map, legend, fill, style.bottom = "8px", style.right = "8px")
The acmap object
A character vector of legend labels
The fill color to be used with the boxes that appear alongside the legend labels
"bottom" style of the div, specifying how far from the bottom of the viewport the bottom of the legend is spaced.
"right" style of the div, specifying how far from the right of the viewport the bottom of the legend is spaced.
Returns the updated acmap object
Other functions to view maps:
RacViewer.options()
,
RacViewer()
,
export_viewer()
,
ggplot.acmap()
,
mapGadget()
,
plot.acmap()
,
view.acmap()
,
view.default()
,
view()