Learn R Programming

leafem (version 0.1.3)

colorOptions: Color options for addGeoRaster and addGeotiff

Description

Color options for addGeoRaster and addGeotiff

Usage

colorOptions(palette = NULL, breaks = NULL, na.color = "#bebebe22")

Arguments

palette

the color palette to use. Can be a set of colors or a color generating function such as the result of colorRampPalette.

breaks

the breaks at which color should change.

na.color

color for NA values (will map to NaN in Javascript).