mapview version of leaflet::color* functions
Color palettes for mapview
mapviewColors(
x,
zcol = NULL,
colors = mapviewGetOption("vector.palette"),
at = NULL,
na.color = mapviewGetOption("na.color"),
...
)mapviewPalette(name = "mapviewVectorColors")
mapViewPalette(name)
Spatial* or Raster* object
the column to be colored
color vector to be used for coloring the levels specified in at
numeric vector giving the breakpoints for the colors
the color for NA values.
additional arguments passed on to level.colors
Name of the color palette to be used. One of "mapviewVectorColors" (default), "mapviewRasterColors", "mapviewSpectralColors" or "mapviewTopoColors".
Tim Appelhans
level.colors