colorOptions: Color options for addGeoRaster and addGeotiff

View source: R/addGeoRaster.R

colorOptionsR Documentation

Color options for addGeoRaster and addGeotiff

Description

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).


r-spatial/leafem documentation built on Nov. 1, 2024, 2:48 p.m.