rasterColor

open override fun rasterColor(rasterColor: Expression): RasterLayer

Defines the color ramp used to colorize a raster layer, parameterized by the ["raster-value"] expression and evaluated over the range specified by raster-color-range. Raster values are spaced evenly across the range by default.

Use static method RasterLayer.defaultRasterColor to set the default property.

Parameters

rasterColor

value of rasterColor


Defines the color ramp used to colorize a raster layer, parameterized by the ["raster-value"] expression and evaluated over the range specified by raster-color-range. Raster values are spaced evenly across the range by default.