For internal use. Plot raster data on the leaflet map

raster_map(map, common, raster, name, log = FALSE, selected = NULL)

Arguments

map

The leafletProxy object to add the raster to

common

The common data structure

raster

The SpatRaster to plot

name

The name of the raster

log

Whether to plot the raster using a log scale

selected

The layer to display