Skip to contents

Color options for addGeoRaster and addGeotiff

Usage

colorOptions(
  palette = NULL,
  breaks = NULL,
  domain = 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.

domain

the value domain (min/max) within which color mapping should occur.

na.color

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