mapviewColors {mapview} | R Documentation |
mapview version of leaflet::color* functions
Description
mapview version of leaflet::color* functions
Color palettes for mapview
Usage
mapviewColors(
x,
zcol = NULL,
colors = mapviewGetOption("vector.palette"),
at = NULL,
na.color = mapviewGetOption("na.color"),
...
)
mapviewPalette(name = "mapviewVectorColors")
mapViewPalette(name)
Arguments
x |
Spatial* or Raster* object |
zcol |
the column to be colored |
colors |
color vector to be used for coloring the levels specified in at |
at |
numeric vector giving the breakpoints for the colors |
na.color |
the color for NA values. |
... |
additional arguments passed on to |
name |
Name of the color palette to be used. One of "mapviewVectorColors" (default), "mapviewRasterColors", "mapviewSpectralColors" or "mapviewTopoColors". |
Author(s)
Tim Appelhans
See Also
[Package mapview version 2.11.2 Index]